aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sunbmac.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-10-05 12:20:28 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-05 12:20:28 -0400
commit7afb9dc9a5663befea612b03615efc694d5c3ce7 (patch)
treed446fefa780828fd2caa32a9c4e4528e6166c820 /drivers/net/sunbmac.c
parente69c4e0f1210450841e40716894ba6a877b31d52 (diff)
netdrv: Fix unregister_netdev typos
Found during the (partial) unregister_netdevice audit that we didn't have to have :) It looks like a couple of Sun NIC drivers had unregister_netdevice when they really meant unregister_netdev. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sunbmac.c')
-rw-r--r--drivers/net/sunbmac.c2
1 files changed, 1 insertions, 1 deletions
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);