]> 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, 15 Nov 2012 02:38:21 +0000 (13:38 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Nov 2012 06:32:05 +0000 (17:32 +1100)
commit945edcee55ccdfdb3e4a4da11939e04094e1a6a0
tree2d9a11f62737a4cfeb94899353baeb8274f211a9
parente2c8ba8a00dda3c2c2642ece4a2aaf674d52daf8
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