lkml.org 
[lkml]   [2003]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.078 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site