Skip to content

Commit 05c6945

Browse files
lyakhbroonie
authored andcommitted
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]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent e595b32 commit 05c6945

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/sh/fsi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,6 +1216,7 @@ static struct fsi_core fsi2_core = {
12161216
static struct platform_device_id fsi_id_table[] = {
12171217
{ "sh_fsi", (kernel_ulong_t)&fsi1_core },
12181218
{ "sh_fsi2", (kernel_ulong_t)&fsi2_core },
1219+
{},
12191220
};
12201221
MODULE_DEVICE_TABLE(platform, fsi_id_table);
12211222

0 commit comments

Comments
 (0)