[alsa-devel] [PATCH] ASoC: sh: fix build error: terminate the platform device ID list
Platform driver ID table must be zero-element terminated.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski@gmx.de --- sound/soc/sh/fsi.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index 82c6190..dd99633 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c @@ -1216,6 +1216,7 @@ static struct fsi_core fsi2_core = { static struct platform_device_id fsi_id_table[] = { { "sh_fsi", (kernel_ulong_t)&fsi1_core }, { "sh_fsi2", (kernel_ulong_t)&fsi2_core }, + {}, }; MODULE_DEVICE_TABLE(platform, fsi_id_table);
On Tue, 2010-10-05 at 17:54 +0200, Guennadi Liakhovetski wrote:
Platform driver ID table must be zero-element terminated.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski@gmx.de
sound/soc/sh/fsi.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index 82c6190..dd99633 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c @@ -1216,6 +1216,7 @@ static struct fsi_core fsi2_core = { static struct platform_device_id fsi_id_table[] = { { "sh_fsi", (kernel_ulong_t)&fsi1_core }, { "sh_fsi2", (kernel_ulong_t)&fsi2_core },
- {},
}; MODULE_DEVICE_TABLE(platform, fsi_id_table);
Acked-by: Liam Girdwood lrg@slimlogic.co.uk
On Tue, Oct 05, 2010 at 05:54:28PM +0200, Guennadi Liakhovetski wrote:
Platform driver ID table must be zero-element terminated.
Signed-off-by: Guennadi Liakhovetski g.liakhovetski@gmx.de
Applied, thanks.
participants (3)
-
Guennadi Liakhovetski
-
Liam Girdwood
-
Mark Brown