Message ID | 20240301-net-v7-9-45823597d4d4@outlook.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: hisi-femac: add support for Hi3798MV200, remove unmaintained compatibles | expand |
On 01/03/2024 04:36, Yang Xiwen via B4 Relay wrote: > From: Yang Xiwen <forbidden405@outlook.com> > > We already have MODULE_DEVICE_TABLE(), so this MODULE_ALIAS() has no use > and should be removed. > That's not accurate. You don't have for platform IDs, so you basically remove ability to autoload via platform. It's fine for me, but the commit msg is just misleading. Best regards, Krzysztof
On 3/1/2024 2:50 PM, Krzysztof Kozlowski wrote: > On 01/03/2024 04:36, Yang Xiwen via B4 Relay wrote: >> From: Yang Xiwen <forbidden405@outlook.com> >> >> We already have MODULE_DEVICE_TABLE(), so this MODULE_ALIAS() has no use >> and should be removed. >> > That's not accurate. You don't have for platform IDs, so you basically > remove ability to autoload via platform. It's fine for me, but the > commit msg is just misleading. I've never heard of any distro making use of this custom alias. A generic OF based module alias is enough. > > > Best regards, > Krzysztof >
diff --git a/drivers/net/ethernet/hisilicon/hisi_femac.c b/drivers/net/ethernet/hisilicon/hisi_femac.c index 22a4697e0dde..2ecc10a9ca28 100644 --- a/drivers/net/ethernet/hisilicon/hisi_femac.c +++ b/drivers/net/ethernet/hisilicon/hisi_femac.c @@ -1014,4 +1014,3 @@ module_platform_driver(hisi_femac_driver); MODULE_DESCRIPTION("Hisilicon Fast Ethernet MAC driver"); MODULE_AUTHOR("Dongpo Li <lidongpo@hisilicon.com>"); MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("platform:hisi-femac");