aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:23:29 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:45 -0500
commitb4e54a9442c741e09f7df92f1f62e282a9c3dd05 (patch)
tree312989e7460dfa8ae282e936a0d259c516a9efdb
parentbaf63293532a0c23478c46df959ad11f93a0b904 (diff)
8139too: 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/realtek/8139too.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/ethernet/realtek/8139too.c b/drivers/net/ethernet/realtek/8139too.c
index 3ed7add23c12..5dc161630127 100644
--- a/drivers/net/ethernet/realtek/8139too.c
+++ b/drivers/net/ethernet/realtek/8139too.c
@@ -228,7 +228,7 @@ typedef enum {
228static const struct { 228static const struct {
229 const char *name; 229 const char *name;
230 u32 hw_flags; 230 u32 hw_flags;
231} board_info[] __devinitconst = { 231} board_info[] = {
232 { "RealTek RTL8139", RTL8139_CAPS }, 232 { "RealTek RTL8139", RTL8139_CAPS },
233 { "RealTek RTL8129", RTL8129_CAPS }, 233 { "RealTek RTL8129", RTL8129_CAPS },
234}; 234};
@@ -748,7 +748,7 @@ static void rtl8139_chip_reset (void __iomem *ioaddr)
748} 748}
749 749
750 750
751static __devinit struct net_device * rtl8139_init_board (struct pci_dev *pdev) 751static struct net_device *rtl8139_init_board(struct pci_dev *pdev)
752{ 752{
753 struct device *d = &pdev->dev; 753 struct device *d = &pdev->dev;
754 void __iomem *ioaddr; 754 void __iomem *ioaddr;
@@ -935,8 +935,8 @@ static const struct net_device_ops rtl8139_netdev_ops = {
935 .ndo_set_features = rtl8139_set_features, 935 .ndo_set_features = rtl8139_set_features,
936}; 936};
937 937
938static int __devinit rtl8139_init_one (struct pci_dev *pdev, 938static int rtl8139_init_one(struct pci_dev *pdev,
939 const struct pci_device_id *ent) 939 const struct pci_device_id *ent)
940{ 940{
941 struct net_device *dev = NULL; 941 struct net_device *dev = NULL;
942 struct rtl8139_private *tp; 942 struct rtl8139_private *tp;
@@ -1103,7 +1103,7 @@ err_out:
1103} 1103}
1104 1104
1105 1105
1106static void __devexit rtl8139_remove_one (struct pci_dev *pdev) 1106static void rtl8139_remove_one(struct pci_dev *pdev)
1107{ 1107{
1108 struct net_device *dev = pci_get_drvdata (pdev); 1108 struct net_device *dev = pci_get_drvdata (pdev);
1109 struct rtl8139_private *tp = netdev_priv(dev); 1109 struct rtl8139_private *tp = netdev_priv(dev);
@@ -1141,7 +1141,7 @@ static void __devexit rtl8139_remove_one (struct pci_dev *pdev)
1141#define EE_READ_CMD (6) 1141#define EE_READ_CMD (6)
1142#define EE_ERASE_CMD (7) 1142#define EE_ERASE_CMD (7)
1143 1143
1144static int __devinit read_eeprom (void __iomem *ioaddr, int location, int addr_len) 1144static int read_eeprom(void __iomem *ioaddr, int location, int addr_len)
1145{ 1145{
1146 int i; 1146 int i;
1147 unsigned retval = 0; 1147 unsigned retval = 0;
@@ -2652,7 +2652,7 @@ static struct pci_driver rtl8139_pci_driver = {
2652 .name = DRV_NAME, 2652 .name = DRV_NAME,
2653 .id_table = rtl8139_pci_tbl, 2653 .id_table = rtl8139_pci_tbl,
2654 .probe = rtl8139_init_one, 2654 .probe = rtl8139_init_one,
2655 .remove = __devexit_p(rtl8139_remove_one), 2655 .remove = rtl8139_remove_one,
2656#ifdef CONFIG_PM 2656#ifdef CONFIG_PM
2657 .suspend = rtl8139_suspend, 2657 .suspend = rtl8139_suspend,
2658 .resume = rtl8139_resume, 2658 .resume = rtl8139_resume,