ucc_geth: Fix MODULE_DEVICE_TABLE() duplication
Subsystems (2)
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.
Signed-off-by Li Yang <[email protected]>
---drivers/net/ucc_geth_mii.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
drivers/net/ucc_geth_mii.c +0 -0
@@ -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,Quoted 7 lines · Li Yang
Fix
MODULE_DEVICE_TABLE()duplication inucc_geth.canducc_geth_mii.cforucc_gethto be compiled as module.Signed-off-by Li Yang <[email protected]>---
drivers/net/ucc_geth_mii.c| 2 --1 files changed, 0 insertions(+), 2 deletions(-)
applied 1-2