diff options
Diffstat (limited to 'drivers/net/ethernet/amd/hplance.c')
-rw-r--r-- | drivers/net/ethernet/amd/hplance.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/ethernet/amd/hplance.c b/drivers/net/ethernet/amd/hplance.c index 705333e0eff9..0c61fd50d882 100644 --- a/drivers/net/ethernet/amd/hplance.c +++ b/drivers/net/ethernet/amd/hplance.c | |||
@@ -46,10 +46,8 @@ 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 hplance_init_one(struct dio_dev *d, | 49 | static int hplance_init_one(struct dio_dev *d, const struct dio_device_id *ent); |
50 | const struct dio_device_id *ent); | 50 | static void hplance_init(struct net_device *dev, struct dio_dev *d); |
51 | static void hplance_init(struct net_device *dev, | ||
52 | struct dio_dev *d); | ||
53 | static void hplance_remove_one(struct dio_dev *d); | 51 | static void hplance_remove_one(struct dio_dev *d); |
54 | static void hplance_writerap(void *priv, unsigned short value); | 52 | static void hplance_writerap(void *priv, unsigned short value); |
55 | static void hplance_writerdp(void *priv, unsigned short value); | 53 | static void hplance_writerdp(void *priv, unsigned short value); |
@@ -83,8 +81,7 @@ static const struct net_device_ops hplance_netdev_ops = { | |||
83 | }; | 81 | }; |
84 | 82 | ||
85 | /* Find all the HP Lance boards and initialise them... */ | 83 | /* Find all the HP Lance boards and initialise them... */ |
86 | static int hplance_init_one(struct dio_dev *d, | 84 | static int hplance_init_one(struct dio_dev *d, const struct dio_device_id *ent) |
87 | const struct dio_device_id *ent) | ||
88 | { | 85 | { |
89 | struct net_device *dev; | 86 | struct net_device *dev; |
90 | int err = -ENOMEM; | 87 | int err = -ENOMEM; |