Skip to content

Commit 783c339

Browse files
t-8chbentiss
authored andcommitted
platform/x86: asus-tf103c-dock: Constify toprow keymap
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]>
1 parent 63509b1 commit 783c339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/asus-tf103c-dock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ static const struct hid_ll_driver tf103c_dock_hid_ll_driver = {
259259
.raw_request = tf103c_dock_hid_raw_request,
260260
};
261261

262-
static int tf103c_dock_toprow_codes[13][2] = {
262+
static const int tf103c_dock_toprow_codes[13][2] = {
263263
/* Normal, AltGr pressed */
264264
{ KEY_POWER, KEY_F1 },
265265
{ KEY_RFKILL, KEY_F2 },

0 commit comments

Comments
 (0)