Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966928AbbBDRaE (ORCPT ); Wed, 4 Feb 2015 12:30:04 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:62420 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755675AbbBDRaA (ORCPT ); Wed, 4 Feb 2015 12:30:00 -0500 From: Lad Prabhakar To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org Cc: linux-kernel@vger.kernel.org, "Lad, Prabhakar" Subject: [PATCH] sound: soc: codecs/ts3a227e: fix sparse warning Date: Wed, 4 Feb 2015 17:29:30 +0000 Message-Id: <1423070970-24164-1-git-send-email-prabhakar.csengg@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1037 Lines: 34 From: "Lad, Prabhakar" this patch fixes following sparse warning: ts3a227e.c:222:5: warning: symbol 'ts3a227e_enable_jack_detect' was not declared. Should it be static? Signed-off-by: Lad, Prabhakar --- Found this issue on linux-next (gcc version 4.8.2, sparse version 0.4.5-rc1)and applies on top linux-next. sound/soc/codecs/ts3a227e.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/ts3a227e.c b/sound/soc/codecs/ts3a227e.c index 5ecfa31..9fd80ac 100644 --- a/sound/soc/codecs/ts3a227e.c +++ b/sound/soc/codecs/ts3a227e.c @@ -20,6 +20,8 @@ #include #include +#include "ts3a227e.h" + struct ts3a227e { struct regmap *regmap; struct snd_soc_jack *jack; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/