|
@@ -46,11 +46,11 @@ struct hplance_private {
|
|
|
* plus board-specific init, open and close actions.
|
|
|
* Oh, and we need to tell the generic code how to read and write LANCE registers...
|
|
|
*/
|
|
|
-static int __devinit hplance_init_one(struct dio_dev *d,
|
|
|
+static int hplance_init_one(struct dio_dev *d,
|
|
|
const struct dio_device_id *ent);
|
|
|
-static void __devinit hplance_init(struct net_device *dev,
|
|
|
+static void hplance_init(struct net_device *dev,
|
|
|
struct dio_dev *d);
|
|
|
-static void __devexit hplance_remove_one(struct dio_dev *d);
|
|
|
+static void hplance_remove_one(struct dio_dev *d);
|
|
|
static void hplance_writerap(void *priv, unsigned short value);
|
|
|
static void hplance_writerdp(void *priv, unsigned short value);
|
|
|
static unsigned short hplance_readrdp(void *priv);
|
|
@@ -66,7 +66,7 @@ static struct dio_driver hplance_driver = {
|
|
|
.name = "hplance",
|
|
|
.id_table = hplance_dio_tbl,
|
|
|
.probe = hplance_init_one,
|
|
|
- .remove = __devexit_p(hplance_remove_one),
|
|
|
+ .remove = hplance_remove_one,
|
|
|
};
|
|
|
|
|
|
static const struct net_device_ops hplance_netdev_ops = {
|
|
@@ -83,7 +83,7 @@ static const struct net_device_ops hplance_netdev_ops = {
|
|
|
};
|
|
|
|
|
|
/* Find all the HP Lance boards and initialise them... */
|
|
|
-static int __devinit hplance_init_one(struct dio_dev *d,
|
|
|
+static int hplance_init_one(struct dio_dev *d,
|
|
|
const struct dio_device_id *ent)
|
|
|
{
|
|
|
struct net_device *dev;
|
|
@@ -118,7 +118,7 @@ static int __devinit hplance_init_one(struct dio_dev *d,
|
|
|
return err;
|
|
|
}
|
|
|
|
|
|
-static void __devexit hplance_remove_one(struct dio_dev *d)
|
|
|
+static void hplance_remove_one(struct dio_dev *d)
|
|
|
{
|
|
|
struct net_device *dev = dio_get_drvdata(d);
|
|
|
|
|
@@ -128,7 +128,7 @@ static void __devexit hplance_remove_one(struct dio_dev *d)
|
|
|
}
|
|
|
|
|
|
/* Initialise a single lance board at the given DIO device */
|
|
|
-static void __devinit hplance_init(struct net_device *dev, struct dio_dev *d)
|
|
|
+static void hplance_init(struct net_device *dev, struct dio_dev *d)
|
|
|
{
|
|
|
unsigned long va = (d->resource.start + DIO_VIRADDRBASE);
|
|
|
struct hplance_private *lp;
|