diff options
Diffstat (limited to 'drivers/net/ethernet/via')
-rw-r--r-- | drivers/net/ethernet/via/via-rhine.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/ethernet/via/via-rhine.c b/drivers/net/ethernet/via/via-rhine.c index 0459c096629f..53ccc5174d08 100644 --- a/drivers/net/ethernet/via/via-rhine.c +++ b/drivers/net/ethernet/via/via-rhine.c | |||
@@ -113,7 +113,7 @@ static const int multicast_filter_limit = 32; | |||
113 | #include <linux/dmi.h> | 113 | #include <linux/dmi.h> |
114 | 114 | ||
115 | /* These identify the driver base version and may not be removed. */ | 115 | /* These identify the driver base version and may not be removed. */ |
116 | static const char version[] __devinitconst = | 116 | static const char version[] = |
117 | "v1.10-LK" DRV_VERSION " " DRV_RELDATE " Written by Donald Becker"; | 117 | "v1.10-LK" DRV_VERSION " " DRV_RELDATE " Written by Donald Becker"; |
118 | 118 | ||
119 | /* This driver was written to use PCI memory space. Some early versions | 119 | /* This driver was written to use PCI memory space. Some early versions |
@@ -657,7 +657,7 @@ static void enable_mmio(long pioaddr, u32 quirks) | |||
657 | * Loads bytes 0x00-0x05, 0x6E-0x6F, 0x78-0x7B from EEPROM | 657 | * Loads bytes 0x00-0x05, 0x6E-0x6F, 0x78-0x7B from EEPROM |
658 | * (plus 0x6C for Rhine-I/II) | 658 | * (plus 0x6C for Rhine-I/II) |
659 | */ | 659 | */ |
660 | static void __devinit rhine_reload_eeprom(long pioaddr, struct net_device *dev) | 660 | static void rhine_reload_eeprom(long pioaddr, struct net_device *dev) |
661 | { | 661 | { |
662 | struct rhine_private *rp = netdev_priv(dev); | 662 | struct rhine_private *rp = netdev_priv(dev); |
663 | void __iomem *ioaddr = rp->base; | 663 | void __iomem *ioaddr = rp->base; |
@@ -823,7 +823,7 @@ static int rhine_napipoll(struct napi_struct *napi, int budget) | |||
823 | return work_done; | 823 | return work_done; |
824 | } | 824 | } |
825 | 825 | ||
826 | static void __devinit rhine_hw_init(struct net_device *dev, long pioaddr) | 826 | static void rhine_hw_init(struct net_device *dev, long pioaddr) |
827 | { | 827 | { |
828 | struct rhine_private *rp = netdev_priv(dev); | 828 | struct rhine_private *rp = netdev_priv(dev); |
829 | 829 | ||
@@ -856,7 +856,7 @@ static const struct net_device_ops rhine_netdev_ops = { | |||
856 | #endif | 856 | #endif |
857 | }; | 857 | }; |
858 | 858 | ||
859 | static int __devinit rhine_init_one(struct pci_dev *pdev, | 859 | static int rhine_init_one(struct pci_dev *pdev, |
860 | const struct pci_device_id *ent) | 860 | const struct pci_device_id *ent) |
861 | { | 861 | { |
862 | struct net_device *dev; | 862 | struct net_device *dev; |
@@ -2232,7 +2232,7 @@ static int rhine_close(struct net_device *dev) | |||
2232 | } | 2232 | } |
2233 | 2233 | ||
2234 | 2234 | ||
2235 | static void __devexit rhine_remove_one(struct pci_dev *pdev) | 2235 | static void rhine_remove_one(struct pci_dev *pdev) |
2236 | { | 2236 | { |
2237 | struct net_device *dev = pci_get_drvdata(pdev); | 2237 | struct net_device *dev = pci_get_drvdata(pdev); |
2238 | struct rhine_private *rp = netdev_priv(dev); | 2238 | struct rhine_private *rp = netdev_priv(dev); |
@@ -2359,7 +2359,7 @@ static struct pci_driver rhine_driver = { | |||
2359 | .name = DRV_NAME, | 2359 | .name = DRV_NAME, |
2360 | .id_table = rhine_pci_tbl, | 2360 | .id_table = rhine_pci_tbl, |
2361 | .probe = rhine_init_one, | 2361 | .probe = rhine_init_one, |
2362 | .remove = __devexit_p(rhine_remove_one), | 2362 | .remove = rhine_remove_one, |
2363 | .shutdown = rhine_shutdown, | 2363 | .shutdown = rhine_shutdown, |
2364 | .driver.pm = RHINE_PM_OPS, | 2364 | .driver.pm = RHINE_PM_OPS, |
2365 | }; | 2365 | }; |