From: Guennadi Liakhovetski Subject: [PATCH] ASoC: sh: fix build error: terminate the platform device ID list Date: Tue, 5 Oct 2010 17:54:28 +0200 (CEST) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.23]) by alsa0.perex.cz (Postfix) with SMTP id 85C1B24517 for ; Tue, 5 Oct 2010 17:54:11 +0200 (CEST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org Cc: Mark Brown , Kuninori Morimoto , Liam Girdwood List-Id: alsa-devel@alsa-project.org Platform driver ID table must be zero-element terminated. Signed-off-by: Guennadi Liakhovetski --- 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 82c6190..dd99633 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); -- 1.7.1