7b9b09436b
When PCI error recovery was added to cxgb3, a function t3_io_slot_reset() was added. This function can call back into t3_prep_adapter() at any time, so t3_prep_adapter() can no longer be marked __devinit. This patch removes the __devinit annotation from t3_prep_adapter() and all the functions that it calls, which fixes WARNING: drivers/net/cxgb3/built-in.o(.text+0x2427): Section mismatch in reference from the function t3_io_slot_reset() to the function .devinit.text:t3_prep_adapter() Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
adapter.h | ||
ael1002.c | ||
common.h | ||
cxgb3_ctl_defs.h | ||
cxgb3_defs.h | ||
cxgb3_ioctl.h | ||
cxgb3_main.c | ||
cxgb3_offload.c | ||
cxgb3_offload.h | ||
firmware_exports.h | ||
l2t.c | ||
l2t.h | ||
Makefile | ||
mc5.c | ||
regs.h | ||
sge.c | ||
sge_defs.h | ||
t3_cpl.h | ||
t3_hw.c | ||
t3cdev.h | ||
version.h | ||
vsc8211.c | ||
xgmac.c |