Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751471AbdFZJAZ (ORCPT ); Mon, 26 Jun 2017 05:00:25 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:33712 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbdFZJAW (ORCPT ); Mon, 26 Jun 2017 05:00:22 -0400 From: Colin King To: Jaroslav Kysela , Takashi Iwai , Baoyou Xie , Shawn Guo , alsa-devel@alsa-project.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH][sound-next] ASoC: zx_aud96p22: make aud96p22_dt_ids static Date: Mon, 26 Jun 2017 10:00:14 +0100 Message-Id: <20170626090014.8977-1-colin.king@canonical.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 835 Lines: 28 From: Colin Ian King The structure aud96p22_dt_ids does not need to be in global scope, so make it static. Cleans up sparse warning: "warning: symbol 'aud96p22_dt_ids' was not declared. Should it be static?" Signed-off-by: Colin Ian King --- sound/soc/codecs/zx_aud96p22.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/zx_aud96p22.c b/sound/soc/codecs/zx_aud96p22.c index 032fb7cf6cbd..bc23ce1a30a1 100644 --- a/sound/soc/codecs/zx_aud96p22.c +++ b/sound/soc/codecs/zx_aud96p22.c @@ -382,7 +382,7 @@ static int aud96p22_i2c_remove(struct i2c_client *i2c) return 0; } -const struct of_device_id aud96p22_dt_ids[] = { +static const struct of_device_id aud96p22_dt_ids[] = { { .compatible = "zte,zx-aud96p22", }, { } }; -- 2.11.0