Skip to content

Commit

Permalink
ASoC: samsung: fix module_device_table
Browse files Browse the repository at this point in the history
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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Arnd Bergmann authored and Mark Brown committed Apr 11, 2013
1 parent cb00e3a commit 2af1955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/samsung/i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
static struct samsung_i2s_dai_data samsung_i2s_dai_data_array[] = {
Expand Down

0 comments on commit 2af1955

Please sign in to comment.