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>
This commit is contained in:
parent
e595b3252f
commit
05c694500b
|
@ -1216,6 +1216,7 @@ static struct fsi_core fsi2_core = {
|
||||||
static struct platform_device_id fsi_id_table[] = {
|
static struct platform_device_id fsi_id_table[] = {
|
||||||
{ "sh_fsi", (kernel_ulong_t)&fsi1_core },
|
{ "sh_fsi", (kernel_ulong_t)&fsi1_core },
|
||||||
{ "sh_fsi2", (kernel_ulong_t)&fsi2_core },
|
{ "sh_fsi2", (kernel_ulong_t)&fsi2_core },
|
||||||
|
{},
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(platform, fsi_id_table);
|
MODULE_DEVICE_TABLE(platform, fsi_id_table);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue