From: Yang Xiwen <forbidden405@xxxxxxxxxxx> We already have MODULE_DEVICE_TABLE() that creates the correct alias. Remove unneeded MODULE_ALIAS(). Signed-off-by: Yang Xiwen <forbidden405@xxxxxxxxxxx> --- drivers/net/ethernet/hisilicon/hisi_femac.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hisi_femac.c b/drivers/net/ethernet/hisilicon/hisi_femac.c index 9bf4beba7987..f0f2a3cd8d1d 100644 --- a/drivers/net/ethernet/hisilicon/hisi_femac.c +++ b/drivers/net/ethernet/hisilicon/hisi_femac.c @@ -969,4 +969,3 @@ module_platform_driver(hisi_femac_driver); MODULE_DESCRIPTION("Hisilicon Fast Ethernet MAC driver"); MODULE_AUTHOR("Dongpo Li <lidongpo@xxxxxxxxxxxxx>"); MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("platform:hisi-femac"); -- 2.43.0