提交 2af19558 编写于 作者: A Arnd Bergmann 提交者: Mark Brown

ASoC: samsung: fix module_device_table

The second argument to the module_device_table macro must be the
name of the device id array. In the samsung i2s driver, there
was a small typo, resulting in a build error when building it
as a loadable module.
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 cb00e3a1
...@@ -1298,7 +1298,7 @@ static struct platform_device_id samsung_i2s_driver_ids[] = { ...@@ -1298,7 +1298,7 @@ static struct platform_device_id samsung_i2s_driver_ids[] = {
}, },
{}, {},
}; };
MODULE_DEVICE_TABLE(platform, samsung-i2s-driver-ids); MODULE_DEVICE_TABLE(platform, samsung_i2s_driver_ids);
#ifdef CONFIG_OF #ifdef CONFIG_OF
static struct samsung_i2s_dai_data samsung_i2s_dai_data_array[] = { static struct samsung_i2s_dai_data samsung_i2s_dai_data_array[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册