Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a007ec59 authored by Jingoo Han's avatar Jingoo Han Committed by Bryan Wu
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
parent cbaa93d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");