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/hplance.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/hplance.c')
-rw-r--r-- | drivers/net/ethernet/amd/hplance.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/ethernet/amd/hplance.c b/drivers/net/ethernet/amd/hplance.c index 8baff4e5d964..705333e0eff9 100644 --- a/drivers/net/ethernet/amd/hplance.c +++ b/drivers/net/ethernet/amd/hplance.c | |||
@@ -46,11 +46,11 @@ struct hplance_private { | |||
46 | * plus board-specific init, open and close actions. | 46 | * plus board-specific init, open and close actions. |
47 | * Oh, and we need to tell the generic code how to read and write LANCE registers... | 47 | * Oh, and we need to tell the generic code how to read and write LANCE registers... |
48 | */ | 48 | */ |
49 | static int __devinit hplance_init_one(struct dio_dev *d, | 49 | static int hplance_init_one(struct dio_dev *d, |
50 | const struct dio_device_id *ent); | 50 | const struct dio_device_id *ent); |
51 | static void __devinit hplance_init(struct net_device *dev, | 51 | static void hplance_init(struct net_device *dev, |
52 | struct dio_dev *d); | 52 | struct dio_dev *d); |
53 | static void __devexit hplance_remove_one(struct dio_dev *d); | 53 | static void hplance_remove_one(struct dio_dev *d); |
54 | static void hplance_writerap(void *priv, unsigned short value); | 54 | static void hplance_writerap(void *priv, unsigned short value); |
55 | static void hplance_writerdp(void *priv, unsigned short value); | 55 | static void hplance_writerdp(void *priv, unsigned short value); |
56 | static unsigned short hplance_readrdp(void *priv); | 56 | static unsigned short hplance_readrdp(void *priv); |
@@ -66,7 +66,7 @@ static struct dio_driver hplance_driver = { | |||
66 | .name = "hplance", | 66 | .name = "hplance", |
67 | .id_table = hplance_dio_tbl, | 67 | .id_table = hplance_dio_tbl, |
68 | .probe = hplance_init_one, | 68 | .probe = hplance_init_one, |
69 | .remove = __devexit_p(hplance_remove_one), | 69 | .remove = hplance_remove_one, |
70 | }; | 70 | }; |
71 | 71 | ||
72 | static const struct net_device_ops hplance_netdev_ops = { | 72 | static const struct net_device_ops hplance_netdev_ops = { |
@@ -83,7 +83,7 @@ static const struct net_device_ops hplance_netdev_ops = { | |||
83 | }; | 83 | }; |
84 | 84 | ||
85 | /* Find all the HP Lance boards and initialise them... */ | 85 | /* Find all the HP Lance boards and initialise them... */ |
86 | static int __devinit hplance_init_one(struct dio_dev *d, | 86 | static int hplance_init_one(struct dio_dev *d, |
87 | const struct dio_device_id *ent) | 87 | const struct dio_device_id *ent) |
88 | { | 88 | { |
89 | struct net_device *dev; | 89 | struct net_device *dev; |
@@ -118,7 +118,7 @@ static int __devinit hplance_init_one(struct dio_dev *d, | |||
118 | return err; | 118 | return err; |
119 | } | 119 | } |
120 | 120 | ||
121 | static void __devexit hplance_remove_one(struct dio_dev *d) | 121 | static void hplance_remove_one(struct dio_dev *d) |
122 | { | 122 | { |
123 | struct net_device *dev = dio_get_drvdata(d); | 123 | struct net_device *dev = dio_get_drvdata(d); |
124 | 124 | ||
@@ -128,7 +128,7 @@ static void __devexit hplance_remove_one(struct dio_dev *d) | |||
128 | } | 128 | } |
129 | 129 | ||
130 | /* Initialise a single lance board at the given DIO device */ | 130 | /* Initialise a single lance board at the given DIO device */ |
131 | static void __devinit hplance_init(struct net_device *dev, struct dio_dev *d) | 131 | static void hplance_init(struct net_device *dev, struct dio_dev *d) |
132 | { | 132 | { |
133 | unsigned long va = (d->resource.start + DIO_VIRADDRBASE); | 133 | unsigned long va = (d->resource.start + DIO_VIRADDRBASE); |
134 | struct hplance_private *lp; | 134 | struct hplance_private *lp; |