![]() he_init_one() is declared __devinit, but calls lots of init functions that are marked __init. However, if CONFIG_HOTPLUG is enabled, __devinit functions go into normal .text, which leads to WARNING: drivers/atm/he.o - Section mismatch: reference to .init.text: from .text between 'he_start' (at offset 0x2130) and 'he_service_tbrq' Fix this by changing the __init functions to __devinit. Signed-off-by: Roland Dreier <roland@digitalvampire.org> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
.gitignore | ||
Kconfig | ||
Makefile | ||
adummy.c | ||
ambassador.c | ||
ambassador.h | ||
atmsar11.data | ||
atmsar11.regions | ||
atmsar11.start | ||
atmtcp.c | ||
eni.c | ||
eni.h | ||
firestream.c | ||
firestream.h | ||
fore200e.c | ||
fore200e.h | ||
fore200e_firmware_copyright | ||
fore200e_mkfirm.c | ||
he.c | ||
he.h | ||
horizon.c | ||
horizon.h | ||
idt77105.c | ||
idt77105.h | ||
idt77252.c | ||
idt77252.h | ||
idt77252_tables.h | ||
iphase.c | ||
iphase.h | ||
lanai.c | ||
midway.h | ||
nicstar.c | ||
nicstar.h | ||
nicstarmac.c | ||
nicstarmac.copyright | ||
pca200e.data | ||
pca200e_ecd.data | ||
sba200e_ecd.data | ||
suni.c | ||
suni.h | ||
tonga.h | ||
uPD98401.h | ||
uPD98402.c | ||
uPD98402.h | ||
zatm.c | ||
zatm.h | ||
zeprom.h |