aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:23:42 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:52 -0500
commitb0171cdc3702416274f05936ef63767d71c25065 (patch)
tree3205296dbea7cbdfdbf284f76c4ff75422b66f33
parent779c1a85813a4622cc3bb3d25ce10b523bd055ba (diff)
epic100: 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/net/ethernet/smsc/epic100.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/ethernet/smsc/epic100.c b/drivers/net/ethernet/smsc/epic100.c
index d01e59c348ad..347cccbeb53c 100644
--- a/drivers/net/ethernet/smsc/epic100.c
+++ b/drivers/net/ethernet/smsc/epic100.c
@@ -90,9 +90,9 @@ static int rx_copybreak;
90#include <asm/byteorder.h> 90#include <asm/byteorder.h>
91 91
92/* These identify the driver base version and may not be removed. */ 92/* These identify the driver base version and may not be removed. */
93static char version[] __devinitdata = 93static char version[] =
94DRV_NAME ".c:v1.11 1/7/2001 Written by Donald Becker <becker@scyld.com>\n"; 94DRV_NAME ".c:v1.11 1/7/2001 Written by Donald Becker <becker@scyld.com>\n";
95static char version2[] __devinitdata = 95static char version2[] =
96" (unofficial 2.4.x kernel port, version " DRV_VERSION ", " DRV_RELDATE ")\n"; 96" (unofficial 2.4.x kernel port, version " DRV_VERSION ", " DRV_RELDATE ")\n";
97 97
98MODULE_AUTHOR("Donald Becker <becker@scyld.com>"); 98MODULE_AUTHOR("Donald Becker <becker@scyld.com>");
@@ -318,7 +318,7 @@ static const struct net_device_ops epic_netdev_ops = {
318 .ndo_validate_addr = eth_validate_addr, 318 .ndo_validate_addr = eth_validate_addr,
319}; 319};
320 320
321static int __devinit epic_init_one(struct pci_dev *pdev, 321static int epic_init_one(struct pci_dev *pdev,
322 const struct pci_device_id *ent) 322 const struct pci_device_id *ent)
323{ 323{
324 static int card_idx = -1; 324 static int card_idx = -1;
@@ -569,7 +569,7 @@ static inline void epic_napi_irq_on(struct net_device *dev,
569 ew32(INTMASK, ep->irq_mask | EpicNapiEvent); 569 ew32(INTMASK, ep->irq_mask | EpicNapiEvent);
570} 570}
571 571
572static int __devinit read_eeprom(struct epic_private *ep, int location) 572static int read_eeprom(struct epic_private *ep, int location)
573{ 573{
574 void __iomem *ioaddr = ep->ioaddr; 574 void __iomem *ioaddr = ep->ioaddr;
575 int i; 575 int i;
@@ -1524,7 +1524,7 @@ static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
1524} 1524}
1525 1525
1526 1526
1527static void __devexit epic_remove_one(struct pci_dev *pdev) 1527static void epic_remove_one(struct pci_dev *pdev)
1528{ 1528{
1529 struct net_device *dev = pci_get_drvdata(pdev); 1529 struct net_device *dev = pci_get_drvdata(pdev);
1530 struct epic_private *ep = netdev_priv(dev); 1530 struct epic_private *ep = netdev_priv(dev);
@@ -1577,7 +1577,7 @@ static struct pci_driver epic_driver = {
1577 .name = DRV_NAME, 1577 .name = DRV_NAME,
1578 .id_table = epic_pci_tbl, 1578 .id_table = epic_pci_tbl,
1579 .probe = epic_init_one, 1579 .probe = epic_init_one,
1580 .remove = __devexit_p(epic_remove_one), 1580 .remove = epic_remove_one,
1581#ifdef CONFIG_PM 1581#ifdef CONFIG_PM
1582 .suspend = epic_suspend, 1582 .suspend = epic_suspend,
1583 .resume = epic_resume, 1583 .resume = epic_resume,