]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/sunbmac.c
p54: report appropriate rate and band values for 802.11a
[linux-2.6-omap-h63xx.git] / drivers / net / sunbmac.c
index fe3ac6f9ae89cd77d26328f50654ba95b180ddd9..31e7384e312ad71a437144acb030730e34771d8e 100644 (file)
@@ -1075,7 +1075,7 @@ static const struct ethtool_ops bigmac_ethtool_ops = {
        .get_link               = bigmac_get_link,
 };
 
-static int __init bigmac_ether_init(struct sbus_dev *qec_sdev)
+static int __devinit bigmac_ether_init(struct sbus_dev *qec_sdev)
 {
        struct net_device *dev;
        static int version_printed;
@@ -1274,7 +1274,7 @@ static int __devexit bigmac_sbus_remove(struct of_device *dev)
        struct bigmac *bp = dev_get_drvdata(&dev->dev);
        struct net_device *net_dev = bp->dev;
 
-       unregister_netdevice(net_dev);
+       unregister_netdev(net_dev);
 
        sbus_iounmap(bp->gregs, GLOB_REG_SIZE);
        sbus_iounmap(bp->creg, CREG_REG_SIZE);