]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/cpmac.c
bnx2: Update version to 1.7.6.
[linux-2.6-omap-h63xx.git] / drivers / net / cpmac.c
index 9da7ff437031fec11854152851c344608ec183ff..ae07100bb935bb23e6d32c9373097848d90d8b54 100644 (file)
@@ -42,6 +42,7 @@
 MODULE_AUTHOR("Eugene Konev <ejka@imfi.kspu.ru>");
 MODULE_DESCRIPTION("TI AR7 ethernet driver (CPMAC)");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:cpmac");
 
 static int debug_level = 8;
 static int dumb_switch;
@@ -707,7 +708,7 @@ static void cpmac_tx_timeout(struct net_device *dev)
        spin_unlock(&priv->lock);
        if (netif_msg_tx_err(priv) && net_ratelimit())
                printk(KERN_WARNING "%s: transmit timeout\n", dev->name);
-       /* 
+       /*
         * FIXME: waking up random queue is not the best thing to
         * do... on the other hand why we got here at all?
         */
@@ -1103,6 +1104,7 @@ static int __devexit cpmac_remove(struct platform_device *pdev)
 
 static struct platform_driver cpmac_driver = {
        .driver.name = "cpmac",
+       .driver.owner = THIS_MODULE,
        .probe = cpmac_probe,
        .remove = __devexit_p(cpmac_remove),
 };