On Wed, Jul 16, 2014 at 07:43:05PM +0200, Mathias Krause wrote: > 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@xxxxxxxxxxxxxx> > Cc: "Lee, Chun-Yi" <jlee@xxxxxxxx> Signed-off-by: "Lee, Chun-Yi" <jlee@xxxxxxxx> Thanks a lot! Joey Lee > --- > drivers/platform/x86/acer-wmi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c > index 31f4da5061..fde69ee63f 100644 > --- a/drivers/platform/x86/acer-wmi.c > +++ b/drivers/platform/x86/acer-wmi.c > @@ -96,7 +96,7 @@ enum acer_wmi_event_ids { > WMID_ACCEL_EVENT = 0x5, > }; > > -static const struct key_entry acer_wmi_keymap[] = { > +static const struct key_entry acer_wmi_keymap[] __initconst = { > {KE_KEY, 0x01, {KEY_WLAN} }, /* WiFi */ > {KE_KEY, 0x03, {KEY_WLAN} }, /* WiFi */ > {KE_KEY, 0x04, {KEY_WLAN} }, /* WiFi */ > -- > 1.7.10.4 > -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html