aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/myri_sbus.c2
-rw-r--r--drivers/net/sunbmac.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/myri_sbus.c b/drivers/net/myri_sbus.c
index 656a260fc956..06e682334c7e 100644
--- a/drivers/net/myri_sbus.c
+++ b/drivers/net/myri_sbus.c
@@ -1118,7 +1118,7 @@ static int __devexit myri_sbus_remove(struct of_device *dev)
1118 struct myri_eth *mp = dev_get_drvdata(&dev->dev); 1118 struct myri_eth *mp = dev_get_drvdata(&dev->dev);
1119 struct net_device *net_dev = mp->dev; 1119 struct net_device *net_dev = mp->dev;
1120 1120
1121 unregister_netdevice(net_dev); 1121 unregister_netdev(net_dev);
1122 1122
1123 free_irq(net_dev->irq, net_dev); 1123 free_irq(net_dev->irq, net_dev);
1124 1124
diff --git a/drivers/net/sunbmac.c b/drivers/net/sunbmac.c
index 0e4a88d16327..31e7384e312a 100644
--- a/drivers/net/sunbmac.c
+++ b/drivers/net/sunbmac.c
@@ -1274,7 +1274,7 @@ static int __devexit bigmac_sbus_remove(struct of_device *dev)
1274 struct bigmac *bp = dev_get_drvdata(&dev->dev); 1274 struct bigmac *bp = dev_get_drvdata(&dev->dev);
1275 struct net_device *net_dev = bp->dev; 1275 struct net_device *net_dev = bp->dev;
1276 1276
1277 unregister_netdevice(net_dev); 1277 unregister_netdev(net_dev);
1278 1278
1279 sbus_iounmap(bp->gregs, GLOB_REG_SIZE); 1279 sbus_iounmap(bp->gregs, GLOB_REG_SIZE);
1280 sbus_iounmap(bp->creg, CREG_REG_SIZE); 1280 sbus_iounmap(bp->creg, CREG_REG_SIZE);