[ATM] suni_init declared __init AND exported?

From: chas williams (chas@locutus.cmf.nrl.navy.mil)
Date: Wed Feb 26 2003 - 08:18:14 EST


currently suni_init() in drivers/atm/suni.c is declared as

int __init suni_init(struct atm_dev *dev)
{
}
EXPORT_SYMBOL(suni_init);

with 2.4 kernels this works fine since __init goes away for
modules. however this seems to be a problem for 2.5 since
suni_init will be discarded after the suni module is loaded.
atm drivers calling suni_init() during their startup/load
oops since the suni_init() function is no longer available.

the __init should go away right?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:35 EST