From: Jingoo Han Date: Thu, 23 Jan 2014 23:54:31 +0000 (-0800) Subject: backlight: kb3886_bl: fix incorrect placement of __initdata marker X-Git-Tag: upstream/snapshot3+hdmi~3586^2~102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81f5cdc1b2a48d466bc53f38e843a7981a4e5e0c;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git backlight: kb3886_bl: fix incorrect placement of __initdata marker The __initdata marker can be virtually anywhere on the line, EXCEPT right after "struct". The preferred location is before the "=" sign if there is one, or before the trailing ";" otherwise. It also fixes the following chechpatch warning. WARNING: __initdata should be placed after kb3886bl_device_table[] Signed-off-by: Jingoo Han Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/backlight/kb3886_bl.c b/drivers/video/backlight/kb3886_bl.c index 7592cc2..84a110a 100644 --- a/drivers/video/backlight/kb3886_bl.c +++ b/drivers/video/backlight/kb3886_bl.c @@ -78,7 +78,7 @@ static struct kb3886bl_machinfo *bl_machinfo; static unsigned long kb3886bl_flags; #define KB3886BL_SUSPENDED 0x01 -static struct dmi_system_id __initdata kb3886bl_device_table[] = { +static struct dmi_system_id kb3886bl_device_table[] __initdata = { { .ident = "Sahara Touch-iT", .matches = {