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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=05c694500b20e0b7c6f7c80d63ef21b92d219752;p=linux-beck.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 82c6190b46f3..dd9963345b93 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);