diff options
| author | Jingoo Han <jg1.han@samsung.com> | 2014-02-28 02:26:08 -0500 |
|---|---|---|
| committer | Bryan Wu <cooloney@gmail.com> | 2014-02-28 17:36:35 -0500 |
| commit | aad0f292756cb267953f6cd04bbf4b51f2497034 (patch) | |
| tree | d2202d1aa076587adafe0396d7f15def59f30d28 | |
| parent | a007ec59e32cb39f1a67a464b01ac6edeff74e5b (diff) | |
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>
| -rw-r--r-- | drivers/leds/leds-clevo-mail.c | 2 |
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>"); | |||
| 19 | MODULE_DESCRIPTION("Clevo mail LED driver"); | 19 | MODULE_DESCRIPTION("Clevo mail LED driver"); |
| 20 | MODULE_LICENSE("GPL"); | 20 | MODULE_LICENSE("GPL"); |
| 21 | 21 | ||
| 22 | static bool __initdata nodetect; | 22 | static bool nodetect; |
| 23 | module_param_named(nodetect, nodetect, bool, 0); | 23 | module_param_named(nodetect, nodetect, bool, 0); |
| 24 | MODULE_PARM_DESC(nodetect, "Skip DMI hardware detection"); | 24 | MODULE_PARM_DESC(nodetect, "Skip DMI hardware detection"); |
| 25 | 25 | ||
