i2c/scx200_acb: Fix section mismatch warning in scx200_pci_drv
authorHarvey Yang <harvey.huawei.yang@gmail.com>
Sun, 30 Oct 2011 12:47:25 +0000 (13:47 +0100)
committerJean Delvare <khali@endymion.delvare>
Sun, 30 Oct 2011 12:47:25 +0000 (13:47 +0100)
commit6fcf84a2c0d5f51a457555d76e037cf3cc85bc7a
treef4f6c8cbda2282cc61cc0f50ab3bf190814bb9ec
parent9519282a02e74f0bf780eb371a3160824c23965a
i2c/scx200_acb: Fix section mismatch warning in scx200_pci_drv

WARNING: drivers/i2c/busses/built-in.o(.data+0x47c8): Section mismatch in reference from the variable scx200_pci_drv to the function .devinit.text:scx200_probe()
The variable scx200_pci_drv references
the function __devinit scx200_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

Signed-off-by: Harvey Yang <harvey.huawei.yang@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/scx200_acb.c