diff options
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 3e7327ec390..71b3d7daa21 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; |