diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-27 23:25:07 -0800 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2014-02-28 14:34:58 -0800 |
commit | a007ec59e32cb39f1a67a464b01ac6edeff74e5b (patch) | |
tree | 33205cfd21b68278319f4a887f44e1aace7eaaae /drivers/leds | |
parent | cbaa93d5228b346bbcb7d9159eb1ac43a65f6f16 (diff) | |
download | op-kernel-dev-a007ec59e32cb39f1a67a464b01ac6edeff74e5b.zip op-kernel-dev-a007ec59e32cb39f1a67a464b01ac6edeff74e5b.tar.gz |
leds: leds-ss4200: 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>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-ss4200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-ss4200.c b/drivers/leds/leds-ss4200.c index 2bdf642..2eb3ef6 100644 --- a/drivers/leds/leds-ss4200.c +++ b/drivers/leds/leds-ss4200.c @@ -78,7 +78,7 @@ static int __init ss4200_led_dmi_callback(const struct dmi_system_id *id) return 1; } -static bool __initdata nodetect; +static bool nodetect; module_param_named(nodetect, nodetect, bool, 0); MODULE_PARM_DESC(nodetect, "Skip DMI-based hardware detection"); |