diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:24:21 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:17:06 -0500 |
commit | a46182eb9a9b0801776d5b6eca7591774cdea7a8 (patch) | |
tree | 13e87f84037224f4638d28d844cce9b4ff53249f /drivers/net/wan | |
parent | da3f21b5f997e361a3251e757a10574984593c14 (diff) |
net/lmc: 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>
Diffstat (limited to 'drivers/net/wan')
-rw-r--r-- | drivers/net/wan/lmc/lmc_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c index f5d533a706ea..0e443fd0803b 100644 --- a/drivers/net/wan/lmc/lmc_main.c +++ b/drivers/net/wan/lmc/lmc_main.c | |||
@@ -816,7 +816,7 @@ static const struct net_device_ops lmc_ops = { | |||
816 | .ndo_get_stats = lmc_get_stats, | 816 | .ndo_get_stats = lmc_get_stats, |
817 | }; | 817 | }; |
818 | 818 | ||
819 | static int __devinit lmc_init_one(struct pci_dev *pdev, | 819 | static int lmc_init_one(struct pci_dev *pdev, |
820 | const struct pci_device_id *ent) | 820 | const struct pci_device_id *ent) |
821 | { | 821 | { |
822 | lmc_softc_t *sc; | 822 | lmc_softc_t *sc; |
@@ -986,7 +986,7 @@ err_req_io: | |||
986 | /* | 986 | /* |
987 | * Called from pci when removing module. | 987 | * Called from pci when removing module. |
988 | */ | 988 | */ |
989 | static void __devexit lmc_remove_one(struct pci_dev *pdev) | 989 | static void lmc_remove_one(struct pci_dev *pdev) |
990 | { | 990 | { |
991 | struct net_device *dev = pci_get_drvdata(pdev); | 991 | struct net_device *dev = pci_get_drvdata(pdev); |
992 | 992 | ||
@@ -1733,7 +1733,7 @@ static struct pci_driver lmc_driver = { | |||
1733 | .name = "lmc", | 1733 | .name = "lmc", |
1734 | .id_table = lmc_pci_tbl, | 1734 | .id_table = lmc_pci_tbl, |
1735 | .probe = lmc_init_one, | 1735 | .probe = lmc_init_one, |
1736 | .remove = __devexit_p(lmc_remove_one), | 1736 | .remove = lmc_remove_one, |
1737 | }; | 1737 | }; |
1738 | 1738 | ||
1739 | module_pci_driver(lmc_driver); | 1739 | module_pci_driver(lmc_driver); |