From: Guennadi Liakhovetski Date: Tue, 5 Oct 2010 15:54:28 +0000 (+0200) Subject: ASoC: sh: fix build error: terminate the platform device ID list X-Git-Tag: 2.1b_release~4275^2~32^2~489 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05c694500b20e0b7c6f7c80d63ef21b92d219752;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git 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 Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- 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);