diff options
Diffstat (limited to 'drivers/net/ethernet/natsemi/natsemi.c')
-rw-r--r-- | drivers/net/ethernet/natsemi/natsemi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/natsemi/natsemi.c b/drivers/net/ethernet/natsemi/natsemi.c index 5b61d12f8b91..dbaaa99a0d43 100644 --- a/drivers/net/ethernet/natsemi/natsemi.c +++ b/drivers/net/ethernet/natsemi/natsemi.c | |||
@@ -947,8 +947,8 @@ static int __devinit natsemi_probe1 (struct pci_dev *pdev, | |||
947 | i = register_netdev(dev); | 947 | i = register_netdev(dev); |
948 | if (i) | 948 | if (i) |
949 | goto err_register_netdev; | 949 | goto err_register_netdev; |
950 | 950 | i = NATSEMI_CREATE_FILE(pdev, dspcfg_workaround); | |
951 | if (NATSEMI_CREATE_FILE(pdev, dspcfg_workaround)) | 951 | if (i) |
952 | goto err_create_file; | 952 | goto err_create_file; |
953 | 953 | ||
954 | if (netif_msg_drv(np)) { | 954 | if (netif_msg_drv(np)) { |