26 Oct
2023
26 Oct
'23
5 p.m.
On Thu, 26 Oct 2023 at 12:09, syed saba kareem ssabakar@amd.com wrote:
+module_platform_driver(acp63_driver);
+MODULE_DESCRIPTION("AMD ACP acp63 Driver"); +MODULE_IMPORT_NS(SND_SOC_ACP_COMMON); +MODULE_LICENSE("Dual BSD/GPL"); +MODULE_ALIAS("platform:" DRV_NAME);
You should not need MODULE_ALIAS() in normal cases. If you need it, usually it means your device ID table is wrong.
It is platform driver ,for auto loading MODULE_ALIAS() is required.
Hm, not really. platform_driver does not need MODULE_ALIAS(). At least 99% of them do not need it. Please help us understand what is broken here that this one platform driver needs alias.
BR, Krzysztof