]> Git Repo - linux.git/commitdiff
platform/x86: asus-tf103c-dock: Constify toprow keymap
authorThomas Weißschuh <[email protected]>
Mon, 30 Jan 2023 03:59:44 +0000 (03:59 +0000)
committerBenjamin Tissoires <[email protected]>
Mon, 6 Feb 2023 14:08:45 +0000 (15:08 +0100)
This structure is never modified, make it const.

Signed-off-by: Thomas Weißschuh <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Benjamin Tissoires <[email protected]>
drivers/platform/x86/asus-tf103c-dock.c

index 84c45e8f51ad37386035af98bac8c6e68f5e6ede..aeb1138464dfe8d9a82fefe3ade8a83b49913ad6 100644 (file)
@@ -259,7 +259,7 @@ static const struct hid_ll_driver tf103c_dock_hid_ll_driver = {
        .raw_request = tf103c_dock_hid_raw_request,
 };
 
-static int tf103c_dock_toprow_codes[13][2] = {
+static const int tf103c_dock_toprow_codes[13][2] = {
        /* Normal,            AltGr pressed */
        { KEY_POWER,          KEY_F1 },
        { KEY_RFKILL,         KEY_F2 },
This page took 0.058785 seconds and 4 git commands to generate.