aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:23:33 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:46 -0500
commit58af79f06236164ce10e9b08aac12945496b4f5e (patch)
tree226ca950eeb265e376cb140d1f9deac1d4b497b2
parent87d1fc11303473a2bd74eedb8377ff80d853972b (diff)
sc92031: 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/silan/sc92031.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/silan/sc92031.c b/drivers/net/ethernet/silan/sc92031.c
index 32e55664df6e..2103449a2dfe 100644
--- a/drivers/net/ethernet/silan/sc92031.c
+++ b/drivers/net/ethernet/silan/sc92031.c
@@ -1395,7 +1395,7 @@ static const struct net_device_ops sc92031_netdev_ops = {
1395#endif 1395#endif
1396}; 1396};
1397 1397
1398static int __devinit sc92031_probe(struct pci_dev *pdev, 1398static int sc92031_probe(struct pci_dev *pdev,
1399 const struct pci_device_id *id) 1399 const struct pci_device_id *id)
1400{ 1400{
1401 int err; 1401 int err;
@@ -1489,7 +1489,7 @@ out_enable_device:
1489 return err; 1489 return err;
1490} 1490}
1491 1491
1492static void __devexit sc92031_remove(struct pci_dev *pdev) 1492static void sc92031_remove(struct pci_dev *pdev)
1493{ 1493{
1494 struct net_device *dev = pci_get_drvdata(pdev); 1494 struct net_device *dev = pci_get_drvdata(pdev);
1495 struct sc92031_priv *priv = netdev_priv(dev); 1495 struct sc92031_priv *priv = netdev_priv(dev);
@@ -1574,7 +1574,7 @@ static struct pci_driver sc92031_pci_driver = {
1574 .name = SC92031_NAME, 1574 .name = SC92031_NAME,
1575 .id_table = sc92031_pci_device_id_table, 1575 .id_table = sc92031_pci_device_id_table,
1576 .probe = sc92031_probe, 1576 .probe = sc92031_probe,
1577 .remove = __devexit_p(sc92031_remove), 1577 .remove = sc92031_remove,
1578 .suspend = sc92031_suspend, 1578 .suspend = sc92031_suspend,
1579 .resume = sc92031_resume, 1579 .resume = sc92031_resume,
1580}; 1580};