alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: sh: fix build error: terminate the platform device ID list
@ 2010-10-05 15:54 Guennadi Liakhovetski
  2010-10-05 15:59 ` Liam Girdwood
  2010-10-05 17:00 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Guennadi Liakhovetski @ 2010-10-05 15:54 UTC (permalink / raw)
  To: alsa-devel; +Cc: Mark Brown, Kuninori Morimoto, Liam Girdwood

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);
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-05 17:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-05 15:54 [PATCH] ASoC: sh: fix build error: terminate the platform device ID list Guennadi Liakhovetski
2010-10-05 15:59 ` Liam Girdwood
2010-10-05 17:00 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).