Messages in this thread | | | Date | Wed, 26 Feb 2003 08:18:14 -0500 | From | chas williams <> | Subject | [ATM] suni_init declared __init AND exported? |
| |
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/
| |