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:
parent
af37557b1b
commit
0cb0568dfe
8 changed files with 37 additions and 37 deletions
|
@ -682,7 +682,7 @@ static void set_multicast_list(struct net_device *dev)
|
|||
}
|
||||
|
||||
|
||||
static void __devexit ariadne_remove_one(struct zorro_dev *z)
|
||||
static void ariadne_remove_one(struct zorro_dev *z)
|
||||
{
|
||||
struct net_device *dev = zorro_get_drvdata(z);
|
||||
|
||||
|
@ -692,7 +692,7 @@ static void __devexit ariadne_remove_one(struct zorro_dev *z)
|
|||
free_netdev(dev);
|
||||
}
|
||||
|
||||
static struct zorro_device_id ariadne_zorro_tbl[] __devinitdata = {
|
||||
static struct zorro_device_id ariadne_zorro_tbl[] = {
|
||||
{ ZORRO_PROD_VILLAGE_TRONIC_ARIADNE },
|
||||
{ 0 }
|
||||
};
|
||||
|
@ -710,7 +710,7 @@ static const struct net_device_ops ariadne_netdev_ops = {
|
|||
.ndo_set_mac_address = eth_mac_addr,
|
||||
};
|
||||
|
||||
static int __devinit ariadne_init_one(struct zorro_dev *z,
|
||||
static int ariadne_init_one(struct zorro_dev *z,
|
||||
const struct zorro_device_id *ent)
|
||||
{
|
||||
unsigned long board = z->resource.start;
|
||||
|
@ -774,7 +774,7 @@ static struct zorro_driver ariadne_driver = {
|
|||
.name = "ariadne",
|
||||
.id_table = ariadne_zorro_tbl,
|
||||
.probe = ariadne_init_one,
|
||||
.remove = __devexit_p(ariadne_remove_one),
|
||||
.remove = ariadne_remove_one,
|
||||
};
|
||||
|
||||
static int __init ariadne_init_module(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue