diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-06 09:30:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-07 14:22:22 -0500 |
commit | 1dd06ae8db716e17ec7e06244b858606edf378c0 (patch) | |
tree | ae4116a9b029ab570a58fae5275cfbb3af6a1d64 /drivers/net/ethernet/atheros/atlx/atl1.c | |
parent | 45122ca26ced7fae41049326a3797a73f961db2e (diff) |
drivers/net: fix up function prototypes after __dev* removals
The __dev* removal patches for the network drivers ended up messing up
the function prototypes for a bunch of drivers. This patch fixes all of
them back up to be properly aligned.
Bonus is that this almost removes 100 lines of code, always a nice
surprise.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros/atlx/atl1.c')
-rw-r--r-- | drivers/net/ethernet/atheros/atlx/atl1.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ethernet/atheros/atlx/atl1.c b/drivers/net/ethernet/atheros/atlx/atl1.c index 3e7327ec3901..71b3d7daa21d 100644 --- a/drivers/net/ethernet/atheros/atlx/atl1.c +++ b/drivers/net/ethernet/atheros/atlx/atl1.c | |||
@@ -144,7 +144,7 @@ struct atl1_option { | |||
144 | }; | 144 | }; |
145 | 145 | ||
146 | static int atl1_validate_option(int *value, struct atl1_option *opt, | 146 | static int atl1_validate_option(int *value, struct atl1_option *opt, |
147 | struct pci_dev *pdev) | 147 | struct pci_dev *pdev) |
148 | { | 148 | { |
149 | if (*value == OPTION_UNSET) { | 149 | if (*value == OPTION_UNSET) { |
150 | *value = opt->def; | 150 | *value = opt->def; |
@@ -2934,8 +2934,7 @@ static const struct net_device_ops atl1_netdev_ops = { | |||
2934 | * The OS initialization, configuring of the adapter private structure, | 2934 | * The OS initialization, configuring of the adapter private structure, |
2935 | * and a hardware reset occur. | 2935 | * and a hardware reset occur. |
2936 | */ | 2936 | */ |
2937 | static int atl1_probe(struct pci_dev *pdev, | 2937 | static int atl1_probe(struct pci_dev *pdev, const struct pci_device_id *ent) |
2938 | const struct pci_device_id *ent) | ||
2939 | { | 2938 | { |
2940 | struct net_device *netdev; | 2939 | struct net_device *netdev; |
2941 | struct atl1_adapter *adapter; | 2940 | struct atl1_adapter *adapter; |