kernel_optimize_test/drivers/sbus/char
Sam Ravnborg 6e51f85730 bbc_i2c: fix section mismatch warning
Fix following warning:

WARNING: drivers/sbus/char/bbc.o(.text+0x674): Section mismatch in reference from the function bbc_i2c_probe() to the function .init.text:T.463()
The function bbc_i2c_probe() references the function __init T.463().
This is often because bbc_i2c_probe lacks a __init
annotation or the annotation of T.463 is wrong.

bbc_i2c_probe() referenced the inlined attach_one_i2c().
As probe may be called after init drop __init annotations
on all functions used by bbc_i2c_probe()

The warning was seen with a sparc64 defconfig build

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-31 19:29:12 -04:00
..
bbc_envctrl.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
bbc_i2c.c bbc_i2c: fix section mismatch warning 2013-03-31 19:29:12 -04:00
bbc_i2c.h of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
display7seg.c new helper: file_inode(file) 2013-02-22 23:31:31 -05:00
envctrl.c Drivers: sbus: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
flash.c Drivers: sbus: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
jsflash.c Fix common misspellings 2011-03-31 11:26:23 -03:00
Kconfig drivers/sbus/char: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:39:03 -08:00
Makefile sparc: Kill sbus mostek RTC driver. 2008-09-03 15:55:32 -07:00
max1617.h Fix common misspellings 2011-03-31 11:26:23 -03:00
openprom.c drivers/sbus/char: removes unnecessary semicolon 2012-09-21 12:08:56 -07:00
uctrl.c Drivers: sbus: remove __dev* attributes. 2013-01-03 15:57:03 -08:00