Skip to contentSkip to conversation

ucc_geth: Fix MODULE_DEVICE_TABLE() duplication

PATCH In review Li Yang 2 participants 2 messages May 22, 2007 – May 24, 2007

Subsystems (2)
lore
Share & tools
lore

Li Yang

author
#0 lore raw

PATCH 1/2 ucc_geth: Fix MODULE_DEVICE_TABLE() duplication

Fix MODULE_DEVICE_TABLE() duplication in ucc_geth.c and ucc_geth_mii.c for ucc_geth to be compiled as module.

---
drivers/net/ucc_geth_mii.c | 2 --

1 files changed, 0 insertions(+), 2 deletions(-)
drivers/net/ucc_geth_mii.c +0 -0
index f96966d..7bcb82f 100644
@@ -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,
#1 lore raw
Quoted 7 lines · Li Yang

Fix MODULE_DEVICE_TABLE() duplication in ucc_geth.c and ucc_geth_mii.c for ucc_geth to be compiled as module.

---
drivers/net/ucc_geth_mii.c | 2 --

1 files changed, 0 insertions(+), 2 deletions(-)

applied 1-2