diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:54 -0500 |
commit | 0cb0568dfea6b51a39362c484c9caddfc94a78b0 (patch) | |
tree | 93520ded19c7840dbde7fea47c4b52744c09c40c /drivers/net/ethernet/amd/declance.c | |
parent | af37557b1b222c64e005c105c81aa3888128bb5d (diff) |
net/amd: 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/ethernet/amd/declance.c')
-rw-r--r-- | drivers/net/ethernet/amd/declance.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/amd/declance.c b/drivers/net/ethernet/amd/declance.c index 7203b522f234..baca0bd1b393 100644 --- a/drivers/net/ethernet/amd/declance.c +++ b/drivers/net/ethernet/amd/declance.c | |||
@@ -72,7 +72,7 @@ | |||
72 | #include <asm/dec/machtype.h> | 72 | #include <asm/dec/machtype.h> |
73 | #include <asm/dec/system.h> | 73 | #include <asm/dec/system.h> |
74 | 74 | ||
75 | static char version[] __devinitdata = | 75 | static char version[] = |
76 | "declance.c: v0.011 by Linux MIPS DECstation task force\n"; | 76 | "declance.c: v0.011 by Linux MIPS DECstation task force\n"; |
77 | 77 | ||
78 | MODULE_AUTHOR("Linux MIPS DECstation task force"); | 78 | MODULE_AUTHOR("Linux MIPS DECstation task force"); |
@@ -1020,7 +1020,7 @@ static const struct net_device_ops lance_netdev_ops = { | |||
1020 | .ndo_set_mac_address = eth_mac_addr, | 1020 | .ndo_set_mac_address = eth_mac_addr, |
1021 | }; | 1021 | }; |
1022 | 1022 | ||
1023 | static int __devinit dec_lance_probe(struct device *bdev, const int type) | 1023 | static int dec_lance_probe(struct device *bdev, const int type) |
1024 | { | 1024 | { |
1025 | static unsigned version_printed; | 1025 | static unsigned version_printed; |
1026 | static const char fmt[] = "declance%d"; | 1026 | static const char fmt[] = "declance%d"; |
@@ -1322,7 +1322,7 @@ static void __exit dec_lance_platform_remove(void) | |||
1322 | } | 1322 | } |
1323 | 1323 | ||
1324 | #ifdef CONFIG_TC | 1324 | #ifdef CONFIG_TC |
1325 | static int __devinit dec_lance_tc_probe(struct device *dev); | 1325 | static int dec_lance_tc_probe(struct device *dev); |
1326 | static int __exit dec_lance_tc_remove(struct device *dev); | 1326 | static int __exit dec_lance_tc_remove(struct device *dev); |
1327 | 1327 | ||
1328 | static const struct tc_device_id dec_lance_tc_table[] = { | 1328 | static const struct tc_device_id dec_lance_tc_table[] = { |
@@ -1341,7 +1341,7 @@ static struct tc_driver dec_lance_tc_driver = { | |||
1341 | }, | 1341 | }, |
1342 | }; | 1342 | }; |
1343 | 1343 | ||
1344 | static int __devinit dec_lance_tc_probe(struct device *dev) | 1344 | static int dec_lance_tc_probe(struct device *dev) |
1345 | { | 1345 | { |
1346 | int status = dec_lance_probe(dev, PMAD_LANCE); | 1346 | int status = dec_lance_probe(dev, PMAD_LANCE); |
1347 | if (!status) | 1347 | if (!status) |