mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
ASoC: allow module autoloading for table board_ids
[ Upstream commit 5f7c98b7519a3a847d9182bd99d57ea250032ca1 ] Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from platform_device_id table. Signed-off-by: Hongbo Li <lihongbo22@huawei.com> Link: https://patch.msgid.link/20240821061955.2273782-3-lihongbo22@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
9434465f3a
commit
555e0d606a
@@ -152,6 +152,8 @@ static const struct platform_device_id board_ids[] = {
|
|||||||
},
|
},
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(platform, board_ids);
|
||||||
|
|
||||||
static struct platform_driver acp_asoc_audio = {
|
static struct platform_driver acp_asoc_audio = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "sof_mach",
|
.name = "sof_mach",
|
||||||
|
|||||||
Reference in New Issue
Block a user