]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: allow module autoloading for table db1200_pids
authorHongbo Li <lihongbo22@huawei.com>
Wed, 21 Aug 2024 06:19:54 +0000 (14:19 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Sep 2024 14:25:07 +0000 (16:25 +0200)
[ 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

index 400eaf9f8b1407f3e6e4eceb053ad178922049dd..f185711180cb4617e1fb9f3514d5d726fc494c4f 100644 (file)
@@ -44,6 +44,7 @@ static const struct platform_device_id db1200_pids[] = {
        },
        {},
 };
+MODULE_DEVICE_TABLE(platform, db1200_pids);
 
 /*-------------------------  AC97 PART  ---------------------------*/