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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
af37557b1b
commit
0cb0568dfe
@@ -72,7 +72,7 @@
|
||||
#include <asm/dec/machtype.h>
|
||||
#include <asm/dec/system.h>
|
||||
|
||||
static char version[] __devinitdata =
|
||||
static char version[] =
|
||||
"declance.c: v0.011 by Linux MIPS DECstation task force\n";
|
||||
|
||||
MODULE_AUTHOR("Linux MIPS DECstation task force");
|
||||
@@ -1020,7 +1020,7 @@ static const struct net_device_ops lance_netdev_ops = {
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
};
|
||||
|
||||
static int __devinit dec_lance_probe(struct device *bdev, const int type)
|
||||
static int dec_lance_probe(struct device *bdev, const int type)
|
||||
{
|
||||
static unsigned version_printed;
|
||||
static const char fmt[] = "declance%d";
|
||||
@@ -1322,7 +1322,7 @@ static void __exit dec_lance_platform_remove(void)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_TC
|
||||
static int __devinit dec_lance_tc_probe(struct device *dev);
|
||||
static int dec_lance_tc_probe(struct device *dev);
|
||||
static int __exit dec_lance_tc_remove(struct device *dev);
|
||||
|
||||
static const struct tc_device_id dec_lance_tc_table[] = {
|
||||
@@ -1341,7 +1341,7 @@ static struct tc_driver dec_lance_tc_driver = {
|
||||
},
|
||||
};
|
||||
|
||||
static int __devinit dec_lance_tc_probe(struct device *dev)
|
||||
static int dec_lance_tc_probe(struct device *dev)
|
||||
{
|
||||
int status = dec_lance_probe(dev, PMAD_LANCE);
|
||||
if (!status)
|
||||
|
Reference in New Issue
Block a user