leds: leds-ss4200: remove __initdata marker
authorJingoo Han <jg1.han@samsung.com>
Fri, 28 Feb 2014 07:25:07 +0000 (23:25 -0800)
committerBryan Wu <cooloney@gmail.com>
Fri, 28 Feb 2014 22:34:58 +0000 (14:34 -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>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-ss4200.c

index 2bdf6420bdfcd0baa85dfaed88ac40fc0e56312c..2eb3ef62962b6fc510bef812dd3bc83fdecfd1ff 100644 (file)
@@ -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");
 
This page took 0.025335 seconds and 5 git commands to generate.