Commit 05c69450 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Mark Brown

ASoC: sh: fix build error: terminate the platform device ID list

Platform driver ID table must be zero-element terminated.
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent e595b325
...@@ -1216,6 +1216,7 @@ static struct fsi_core fsi2_core = { ...@@ -1216,6 +1216,7 @@ static struct fsi_core fsi2_core = {
static struct platform_device_id fsi_id_table[] = { static struct platform_device_id fsi_id_table[] = {
{ "sh_fsi", (kernel_ulong_t)&fsi1_core }, { "sh_fsi", (kernel_ulong_t)&fsi1_core },
{ "sh_fsi2", (kernel_ulong_t)&fsi2_core }, { "sh_fsi2", (kernel_ulong_t)&fsi2_core },
{},
}; };
MODULE_DEVICE_TABLE(platform, fsi_id_table); MODULE_DEVICE_TABLE(platform, fsi_id_table);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment