ASoC: sh: fix build error: terminate the platform device ID list
PATCH 1/1 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 <[email protected]>
--- sound/soc/sh/fsi.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/sh/fsi.c +1 -0
@@ -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);
Signature · 1 line
1.7.1
Quoted 12 lines · Guennadi Liakhovetski
Platform driver ID table must be zero-element terminated.
Signed-off-by Guennadi Liakhovetski <[email protected]>--- sound/soc/sh/fsi.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)sound/soc/sh/fsi.c +0
-0
sound/soc/sh/fsi.c static struct fsi_core fsi2_core = { · line 1222
Quoted 7 lines
sound/soc/sh/fsi.c +1
-0@@ -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);
Acked-by Liam Girdwood <[email protected]>
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk
Mark Brown
AppliedQuoted 3 lines · Guennadi Liakhovetski
Platform driver ID table must be zero-element terminated.
Signed-off-by Guennadi Liakhovetski <[email protected]>
Applied, thanks.