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)
commit87e448493297b32631ef7db3bd5bcf723e9600b2
tree8363dc82131ee2021dd2c8f95d57551113e89620
parent309d131b8703bce6cd173159f1202bc1e7c6def2
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