diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-10-05 12:20:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-05 12:20:28 -0400 |
commit | 7afb9dc9a5663befea612b03615efc694d5c3ce7 (patch) | |
tree | d446fefa780828fd2caa32a9c4e4528e6166c820 /drivers/net/myri_sbus.c | |
parent | e69c4e0f1210450841e40716894ba6a877b31d52 (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/myri_sbus.c')
-rw-r--r-- | drivers/net/myri_sbus.c | 2 |
1 files changed, 1 insertions, 1 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 | ||