mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-07 01:49:42 +01:00
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. ([email protected]: update commit message since it's really a wrong notation) Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
This commit is contained in:
1 parent
cbaa93d522
commit
a007ec59e3
1 file changed
+1
-1
@@ -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");
|
||||
|
||||
|
||||
Reference in new issue
Block a user