]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ucc_geth: Fix MODULE_DEVICE_TABLE() duplication
authorLi Yang <leoli@freescale.com>
Tue, 22 May 2007 12:24:37 +0000 (20:24 +0800)
committerJeff Garzik <jeff@garzik.org>
Thu, 24 May 2007 21:20:48 +0000 (17:20 -0400)
Fix MODULE_DEVICE_TABLE() duplication in ucc_geth.c and ucc_geth_mii.c
for ucc_geth to be compiled as module.

Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ucc_geth_mii.c

index f96966d4bcc2b55a1eb3d239c209ec5a6ebd7d65..7bcb82f50cf73b85514df409ea0cc5afc5938809 100644 (file)
@@ -260,8 +260,6 @@ static struct of_device_id uec_mdio_match[] = {
        {},
 };
 
-MODULE_DEVICE_TABLE(of, uec_mdio_match);
-
 static struct of_platform_driver uec_mdio_driver = {
        .name   = DRV_NAME,
        .probe  = uec_mdio_probe,