diff options
Diffstat (limited to 'drivers/net/smc-mca.c')
-rw-r--r-- | drivers/net/smc-mca.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/smc-mca.c b/drivers/net/smc-mca.c index 0f29f261fcfe..34934fb23b97 100644 --- a/drivers/net/smc-mca.c +++ b/drivers/net/smc-mca.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include <linux/errno.h> | 42 | #include <linux/errno.h> |
43 | #include <linux/string.h> | 43 | #include <linux/string.h> |
44 | #include <linux/init.h> | 44 | #include <linux/init.h> |
45 | #include <linux/interrupt.h> | ||
45 | #include <linux/netdevice.h> | 46 | #include <linux/netdevice.h> |
46 | #include <linux/etherdevice.h> | 47 | #include <linux/etherdevice.h> |
47 | 48 | ||
@@ -156,7 +157,7 @@ static const struct { | |||
156 | { 14, 15 } | 157 | { 14, 15 } |
157 | }; | 158 | }; |
158 | 159 | ||
159 | static const short smc_mca_adapter_ids[] __devinitconst = { | 160 | static short smc_mca_adapter_ids[] __initdata = { |
160 | 0x61c8, | 161 | 0x61c8, |
161 | 0x61c9, | 162 | 0x61c9, |
162 | 0x6fc0, | 163 | 0x6fc0, |
@@ -168,7 +169,7 @@ static const short smc_mca_adapter_ids[] __devinitconst = { | |||
168 | 0x0000 | 169 | 0x0000 |
169 | }; | 170 | }; |
170 | 171 | ||
171 | static const char *const smc_mca_adapter_names[] __devinitconst = { | 172 | static char *smc_mca_adapter_names[] __initdata = { |
172 | "SMC Ethercard PLUS Elite/A BNC/AUI (WD8013EP/A)", | 173 | "SMC Ethercard PLUS Elite/A BNC/AUI (WD8013EP/A)", |
173 | "SMC Ethercard PLUS Elite/A UTP/AUI (WD8013WP/A)", | 174 | "SMC Ethercard PLUS Elite/A UTP/AUI (WD8013WP/A)", |
174 | "WD Ethercard PLUS/A (WD8003E/A or WD8003ET/A)", | 175 | "WD Ethercard PLUS/A (WD8003E/A or WD8003ET/A)", |
@@ -199,7 +200,7 @@ static const struct net_device_ops ultramca_netdev_ops = { | |||
199 | #endif | 200 | #endif |
200 | }; | 201 | }; |
201 | 202 | ||
202 | static int __devinit ultramca_probe(struct device *gen_dev) | 203 | static int __init ultramca_probe(struct device *gen_dev) |
203 | { | 204 | { |
204 | unsigned short ioaddr; | 205 | unsigned short ioaddr; |
205 | struct net_device *dev; | 206 | struct net_device *dev; |