mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [ATM] suni_init declared __init AND exported?
@ 2003-02-26 13:18 chas williams
  2003-02-26 14:06 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: chas williams @ 2003-02-26 13:18 UTC (permalink / raw)
  To: linux-kernel


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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-26 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-26 13:18 [ATM] suni_init declared __init AND exported? chas williams
2003-02-26 14:06 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®