summaryrefslogtreecommitdiffstats
path: root/drivers/net/3c505.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/3c505.c')
-rw-r--r--drivers/net/3c505.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/3c505.c b/drivers/net/3c505.c
index 34edf2200..5f5875953 100644
--- a/drivers/net/3c505.c
+++ b/drivers/net/3c505.c
@@ -1339,7 +1339,7 @@ static inline void elp_init(struct device *dev)
* Called only by elp_autodetect
************************************************************/
-__initfunc(static int elp_sense(struct device *dev))
+static int __init elp_sense(struct device *dev)
{
int timeout;
int addr = dev->base_addr;
@@ -1406,7 +1406,7 @@ __initfunc(static int elp_sense(struct device *dev))
* Called only by eplus_probe
*************************************************************/
-__initfunc(static int elp_autodetect(struct device *dev))
+static int __init elp_autodetect(struct device *dev)
{
int idx = 0;
@@ -1450,7 +1450,7 @@ __initfunc(static int elp_autodetect(struct device *dev))
* work at all if it was in a weird state).
*/
-__initfunc(int elplus_probe(struct device *dev))
+int __init elplus_probe(struct device *dev)
{
elp_device *adapter;
int i, tries, tries1, timeout, okay;