ASoC: sh: fix build error: terminate the platform device ID list
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 5 Oct 2010 15:54:28 +0000 (17:54 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 6 Oct 2010 02:25:46 +0000 (19:25 -0700)
Platform driver ID table must be zero-element terminated.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/sh/fsi.c

index 82c6190..dd99633 100644 (file)
@@ -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);