* [PATCH AUTOSEL 4.19 1/6] ASoC: allow module autoloading for table db1200_pids
@ 2024-09-03 19:29 Sasha Levin
0 siblings, 0 replies; only message in thread
From: Sasha Levin @ 2024-09-03 19:29 UTC (permalink / raw)
To: linux-kernel, stable
Cc: Hongbo Li, Mark Brown, Sasha Levin, lgirdwood, perex, tiwai,
kuninori.morimoto.gx, linux-sound
From: Hongbo Li <lihongbo22@huawei.com>
[ Upstream commit 0e9fdab1e8df490354562187cdbb8dec643eae2c ]
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-2-lihongbo22@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
sound/soc/au1x/db1200.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/au1x/db1200.c b/sound/soc/au1x/db1200.c
index 301e1fc9a3773..24d16e6bf7501 100644
--- a/sound/soc/au1x/db1200.c
+++ b/sound/soc/au1x/db1200.c
@@ -43,6 +43,7 @@ static const struct platform_device_id db1200_pids[] = {
},
{},
};
+MODULE_DEVICE_TABLE(platform, db1200_pids);
/*------------------------- AC97 PART ---------------------------*/
--
2.43.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-03 20:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03 19:29 [PATCH AUTOSEL 4.19 1/6] ASoC: allow module autoloading for table db1200_pids Sasha Levin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox