leds: clevo-mail: remove __initdata marker
authorJingoo Han <jg1.han@samsung.com>
Fri, 28 Feb 2014 07:26:08 +0000 (23:26 -0800)
committerBryan Wu <cooloney@gmail.com>
Fri, 28 Feb 2014 22:36:35 +0000 (14:36 -0800)
Remove __initdata marker, because it is not right for a module
parameter. It will make the kernel oops problem.

(cooloney@gmail.com: update commit message since it's really a
wrong notation)

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Suggested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-clevo-mail.c

index d93e2455da5c43af5fbdf59659cf9e61d5c9ffd1..19202f5cc299d5193cd9b26814fc1c548de507aa 100644 (file)
@@ -19,7 +19,7 @@ MODULE_AUTHOR("Márton Németh <nm127@freemail.hu>");
 MODULE_DESCRIPTION("Clevo mail LED driver");
 MODULE_LICENSE("GPL");
 
-static bool __initdata nodetect;
+static bool nodetect;
 module_param_named(nodetect, nodetect, bool, 0);
 MODULE_PARM_DESC(nodetect, "Skip DMI hardware detection");
 
This page took 0.028221 seconds and 5 git commands to generate.