aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/via
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:23:48 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:53 -0500
commit76e239e1fa66eab1cb5b80a86d4803dc839bbc8f (patch)
treebc6385467fc18530785449c8f8ef98a398178590 /drivers/net/ethernet/via
parentb38d13066020a5390b59d1b740b7985d548bfb5b (diff)
via-rhine: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Roger Luethi <rl@hellgate.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/via')
-rw-r--r--drivers/net/ethernet/via/via-rhine.c12
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. */
116static const char version[] __devinitconst = 116static 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 */
660static void __devinit rhine_reload_eeprom(long pioaddr, struct net_device *dev) 660static 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
826static void __devinit rhine_hw_init(struct net_device *dev, long pioaddr) 826static 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
859static int __devinit rhine_init_one(struct pci_dev *pdev, 859static 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
2235static void __devexit rhine_remove_one(struct pci_dev *pdev) 2235static 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};