]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/ep93xx_bl.c: fix section mismatch
authorJingoo Han <jg1.han@samsung.com>
Thu, 29 Nov 2012 03:18:28 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:31 +0000 (16:23 +1100)
commit973f860f576bd2c18d0f3d55ea90aff8fc313b36
treec3c863a171984f889cc95b9a96486a9f5bd3ff0f
parenta4291385e828b59c12e423cd81b2b06d9be4a7ca
drivers/video/backlight/ep93xx_bl.c: fix section mismatch

Fix section mismatch warning as below:

WARNING: drivers/video/backlight/built-in.o(.data+0x110): Section mismatch in reference from the variable ep93xxbl_driver to the
function .init.text:ep93xxbl_probe()
The variable ep93xxbl_driver references
the function __init ep93xxbl_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/ep93xx_bl.c