}
--- a/drivers/net/ethernet/atheros/atl1e/atl1e_main.c
+++ b/drivers/net/ethernet/atheros/atl1e/atl1e_main.c
-@@ -2234,7 +2234,7 @@ static int atl1e_init_netdev(struct net_
+@@ -2230,7 +2230,7 @@ static int atl1e_init_netdev(struct net_
+ SET_NETDEV_DEV(netdev, &pdev->dev);
pci_set_drvdata(pdev, netdev);
- netdev->irq = pdev->irq;
- netdev->netdev_ops = &atl1e_netdev_ops;
+ netdev_attach_ops(netdev, &atl1e_netdev_ops);
atl1e_set_ethtool_ops(netdev);
--- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
+++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
-@@ -2617,7 +2617,7 @@ static int atl1c_init_netdev(struct net_
+@@ -2615,7 +2615,7 @@ static int atl1c_init_netdev(struct net_
+ SET_NETDEV_DEV(netdev, &pdev->dev);
pci_set_drvdata(pdev, netdev);
- netdev->irq = pdev->irq;
- netdev->netdev_ops = &atl1c_netdev_ops;
+ netdev_attach_ops(netdev, &atl1c_netdev_ops);
netdev->watchdog_timeo = AT_TX_WATCHDOG;