From: Randy Dunlap <[EMAIL PROTECTED]> hrz_init() is called from the probe function, which is __devinit and could be called after init.
WARNING: drivers/atm/horizon.o - Section mismatch: reference to .init.text:.hrz_init from .text between '.hrz_probe' (at offset 0x4054) and '.hrz_remove_one' Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- drivers/atm/horizon.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -Naurp linux-2619-rc2g4/drivers/atm/horizon.c~atm_hrz_section linux-2619-rc2g4/drivers/atm/horizon.c --- linux-2619-rc2g4/drivers/atm/horizon.c~atm_hrz_section 2006-10-20 17:37:52.822837000 -0700 +++ linux-2619-rc2g4/drivers/atm/horizon.c 2006-10-21 22:36:53.373243000 -0700 @@ -1845,7 +1845,8 @@ static u16 __init read_bia (const hrz_de /********** initialise a card **********/ -static int __init hrz_init (hrz_dev * dev) { +static int hrz_init (hrz_dev * dev) +{ int onefivefive; u16 chan; --- - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html