diff options
Diffstat (limited to 'drivers/net/ethernet/dec/tulip/de4x5.c')
-rw-r--r-- | drivers/net/ethernet/dec/tulip/de4x5.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c index f879e9224846..4c830030fb06 100644 --- a/drivers/net/ethernet/dec/tulip/de4x5.c +++ b/drivers/net/ethernet/dec/tulip/de4x5.c | |||
@@ -479,7 +479,7 @@ | |||
479 | 479 | ||
480 | #include "de4x5.h" | 480 | #include "de4x5.h" |
481 | 481 | ||
482 | static const char version[] __devinitconst = | 482 | static const char version[] = |
483 | KERN_INFO "de4x5.c:V0.546 2001/02/22 davies@maniac.ultranet.com\n"; | 483 | KERN_INFO "de4x5.c:V0.546 2001/02/22 davies@maniac.ultranet.com\n"; |
484 | 484 | ||
485 | #define c_char const char | 485 | #define c_char const char |
@@ -1092,7 +1092,7 @@ static const struct net_device_ops de4x5_netdev_ops = { | |||
1092 | }; | 1092 | }; |
1093 | 1093 | ||
1094 | 1094 | ||
1095 | static int __devinit | 1095 | static int |
1096 | de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev) | 1096 | de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev) |
1097 | { | 1097 | { |
1098 | char name[DE4X5_NAME_LENGTH + 1]; | 1098 | char name[DE4X5_NAME_LENGTH + 1]; |
@@ -2077,7 +2077,7 @@ static int __init de4x5_eisa_probe (struct device *gendev) | |||
2077 | return status; | 2077 | return status; |
2078 | } | 2078 | } |
2079 | 2079 | ||
2080 | static int __devexit de4x5_eisa_remove (struct device *device) | 2080 | static int de4x5_eisa_remove(struct device *device) |
2081 | { | 2081 | { |
2082 | struct net_device *dev; | 2082 | struct net_device *dev; |
2083 | u_long iobase; | 2083 | u_long iobase; |
@@ -2104,7 +2104,7 @@ static struct eisa_driver de4x5_eisa_driver = { | |||
2104 | .driver = { | 2104 | .driver = { |
2105 | .name = "de4x5", | 2105 | .name = "de4x5", |
2106 | .probe = de4x5_eisa_probe, | 2106 | .probe = de4x5_eisa_probe, |
2107 | .remove = __devexit_p (de4x5_eisa_remove), | 2107 | .remove = de4x5_eisa_remove, |
2108 | } | 2108 | } |
2109 | }; | 2109 | }; |
2110 | MODULE_DEVICE_TABLE(eisa, de4x5_eisa_ids); | 2110 | MODULE_DEVICE_TABLE(eisa, de4x5_eisa_ids); |
@@ -2118,7 +2118,7 @@ MODULE_DEVICE_TABLE(eisa, de4x5_eisa_ids); | |||
2118 | ** DECchips, we can find the base SROM irrespective of the BIOS scan direction. | 2118 | ** DECchips, we can find the base SROM irrespective of the BIOS scan direction. |
2119 | ** For single port cards this is a time waster... | 2119 | ** For single port cards this is a time waster... |
2120 | */ | 2120 | */ |
2121 | static void __devinit | 2121 | static void |
2122 | srom_search(struct net_device *dev, struct pci_dev *pdev) | 2122 | srom_search(struct net_device *dev, struct pci_dev *pdev) |
2123 | { | 2123 | { |
2124 | u_char pb; | 2124 | u_char pb; |
@@ -2192,8 +2192,8 @@ srom_search(struct net_device *dev, struct pci_dev *pdev) | |||
2192 | ** kernels use the V0.535[n] drivers. | 2192 | ** kernels use the V0.535[n] drivers. |
2193 | */ | 2193 | */ |
2194 | 2194 | ||
2195 | static int __devinit de4x5_pci_probe (struct pci_dev *pdev, | 2195 | static int de4x5_pci_probe(struct pci_dev *pdev, |
2196 | const struct pci_device_id *ent) | 2196 | const struct pci_device_id *ent) |
2197 | { | 2197 | { |
2198 | u_char pb, pbus = 0, dev_num, dnum = 0, timer; | 2198 | u_char pb, pbus = 0, dev_num, dnum = 0, timer; |
2199 | u_short vendor, status; | 2199 | u_short vendor, status; |
@@ -2314,7 +2314,7 @@ static int __devinit de4x5_pci_probe (struct pci_dev *pdev, | |||
2314 | return error; | 2314 | return error; |
2315 | } | 2315 | } |
2316 | 2316 | ||
2317 | static void __devexit de4x5_pci_remove (struct pci_dev *pdev) | 2317 | static void de4x5_pci_remove(struct pci_dev *pdev) |
2318 | { | 2318 | { |
2319 | struct net_device *dev; | 2319 | struct net_device *dev; |
2320 | u_long iobase; | 2320 | u_long iobase; |
@@ -2344,7 +2344,7 @@ static struct pci_driver de4x5_pci_driver = { | |||
2344 | .name = "de4x5", | 2344 | .name = "de4x5", |
2345 | .id_table = de4x5_pci_tbl, | 2345 | .id_table = de4x5_pci_tbl, |
2346 | .probe = de4x5_pci_probe, | 2346 | .probe = de4x5_pci_probe, |
2347 | .remove = __devexit_p (de4x5_pci_remove), | 2347 | .remove = de4x5_pci_remove, |
2348 | }; | 2348 | }; |
2349 | 2349 | ||
2350 | #endif | 2350 | #endif |