diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-10-05 11:54:28 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-10-05 22:25:46 -0400 |
commit | 05c694500b20e0b7c6f7c80d63ef21b92d219752 (patch) | |
tree | fe2afc651f32c439c4364ab66b06a0d0956d15a2 | |
parent | e595b3252f4a53fc52227ca7a8b94199f9f319a9 (diff) |
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>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | 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 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 = { | |||
1216 | static struct platform_device_id fsi_id_table[] = { | 1216 | static struct platform_device_id fsi_id_table[] = { |
1217 | { "sh_fsi", (kernel_ulong_t)&fsi1_core }, | 1217 | { "sh_fsi", (kernel_ulong_t)&fsi1_core }, |
1218 | { "sh_fsi2", (kernel_ulong_t)&fsi2_core }, | 1218 | { "sh_fsi2", (kernel_ulong_t)&fsi2_core }, |
1219 | {}, | ||
1219 | }; | 1220 | }; |
1220 | MODULE_DEVICE_TABLE(platform, fsi_id_table); | 1221 | MODULE_DEVICE_TABLE(platform, fsi_id_table); |
1221 | 1222 | ||