]> git.baikalelectronics.ru Git - kernel.git/commit
acer-wmi: Mark acer_wmi_keymap[] as __initconst
authorMathias Krause <minipli@googlemail.com>
Wed, 16 Jul 2014 17:43:05 +0000 (19:43 +0200)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sat, 16 Aug 2014 08:23:51 +0000 (01:23 -0700)
commit231fa2f0c31b39567a88bb0702d57024f44390d7
tree8363dc82131ee2021dd2c8f95d57551113e89620
parentbea56cf45751c94a832cead6dd981b8c7682f9b4
acer-wmi: Mark acer_wmi_keymap[] as __initconst

sparse_keymap_setup() will make a copy of the keymap, so we can release
the master copy after initialization.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: "Lee, Chun-Yi" <jlee@suse.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/acer-wmi.c