summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-clevo-mail.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-28 08:26:08 +0100
committerBryan Wu <cooloney@gmail.com>2014-02-28 23:36:35 +0100
commitaad0f292756cb267953f6cd04bbf4b51f2497034 (patch)
treed2202d1aa076587adafe0396d7f15def59f30d28 /drivers/leds/leds-clevo-mail.c
parentleds: leds-ss4200: remove __initdata marker (diff)
downloadlinux-aad0f292756cb267953f6cd04bbf4b51f2497034.tar.xz
linux-aad0f292756cb267953f6cd04bbf4b51f2497034.zip
leds: clevo-mail: remove __initdata marker
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>
Diffstat (limited to 'drivers/leds/leds-clevo-mail.c')
-rw-r--r--drivers/leds/leds-clevo-mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-clevo-mail.c b/drivers/leds/leds-clevo-mail.c
index d93e2455da5c..19202f5cc299 100644
--- a/drivers/leds/leds-clevo-mail.c
+++ b/drivers/leds/leds-clevo-mail.c
@@ -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");