From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH baohua] ASoC: sirf: atlas7: atlas7_iacc_dai_ops can be static Date: Fri, 6 Feb 2015 01:03:52 +0800 Message-ID: <20150205170352.GA49811@snb> References: <201502060130.hszyNa1F%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by alsa0.perex.cz (Postfix) with ESMTP id B8A44264F3D for ; Thu, 5 Feb 2015 18:05:09 +0100 (CET) Content-Disposition: inline In-Reply-To: <201502060130.hszyNa1F%fengguang.wu@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Rongjun Ying Cc: linux-arm-kernel@lists.infradead.org, alsa-devel@alsa-project.org, Takashi Iwai , linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , kbuild-all@01.org, Barry Song List-Id: alsa-devel@alsa-project.org sound/soc/sirf/atlas7-iacc.c:168:24: sparse: symbol 'atlas7_iacc_dai_ops' was not declared. Should it be static? Signed-off-by: Fengguang Wu --- atlas7-iacc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sirf/atlas7-iacc.c b/sound/soc/sirf/atlas7-iacc.c index ca17e90..a359d8b 100644 --- a/sound/soc/sirf/atlas7-iacc.c +++ b/sound/soc/sirf/atlas7-iacc.c @@ -165,7 +165,7 @@ static int atlas7_iacc_trigger(struct snd_pcm_substream *substream, return 0; } -struct snd_soc_dai_ops atlas7_iacc_dai_ops = { +static struct snd_soc_dai_ops atlas7_iacc_dai_ops = { .hw_params = atlas7_iacc_hw_params, .trigger = atlas7_iacc_trigger, }; From mboxrd@z Thu Jan 1 00:00:00 1970 From: fengguang.wu@intel.com (kbuild test robot) Date: Fri, 6 Feb 2015 01:03:52 +0800 Subject: [PATCH baohua] ASoC: sirf: atlas7: atlas7_iacc_dai_ops can be static In-Reply-To: <201502060130.hszyNa1F%fengguang.wu@intel.com> References: <201502060130.hszyNa1F%fengguang.wu@intel.com> Message-ID: <20150205170352.GA49811@snb> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org sound/soc/sirf/atlas7-iacc.c:168:24: sparse: symbol 'atlas7_iacc_dai_ops' was not declared. Should it be static? Signed-off-by: Fengguang Wu --- atlas7-iacc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sirf/atlas7-iacc.c b/sound/soc/sirf/atlas7-iacc.c index ca17e90..a359d8b 100644 --- a/sound/soc/sirf/atlas7-iacc.c +++ b/sound/soc/sirf/atlas7-iacc.c @@ -165,7 +165,7 @@ static int atlas7_iacc_trigger(struct snd_pcm_substream *substream, return 0; } -struct snd_soc_dai_ops atlas7_iacc_dai_ops = { +static struct snd_soc_dai_ops atlas7_iacc_dai_ops = { .hw_params = atlas7_iacc_hw_params, .trigger = atlas7_iacc_trigger, }; From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758283AbbBERFe (ORCPT ); Thu, 5 Feb 2015 12:05:34 -0500 Received: from mga03.intel.com ([134.134.136.65]:22568 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754266AbbBERFc (ORCPT ); Thu, 5 Feb 2015 12:05:32 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,525,1418112000"; d="scan'208";a="523138962" Date: Fri, 6 Feb 2015 01:03:52 +0800 From: kbuild test robot To: Rongjun Ying Cc: kbuild-all@01.org, Barry Song , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH baohua] ASoC: sirf: atlas7: atlas7_iacc_dai_ops can be static Message-ID: <20150205170352.GA49811@snb> References: <201502060130.hszyNa1F%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201502060130.hszyNa1F%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sound/soc/sirf/atlas7-iacc.c:168:24: sparse: symbol 'atlas7_iacc_dai_ops' was not declared. Should it be static? Signed-off-by: Fengguang Wu --- atlas7-iacc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sirf/atlas7-iacc.c b/sound/soc/sirf/atlas7-iacc.c index ca17e90..a359d8b 100644 --- a/sound/soc/sirf/atlas7-iacc.c +++ b/sound/soc/sirf/atlas7-iacc.c @@ -165,7 +165,7 @@ static int atlas7_iacc_trigger(struct snd_pcm_substream *substream, return 0; } -struct snd_soc_dai_ops atlas7_iacc_dai_ops = { +static struct snd_soc_dai_ops atlas7_iacc_dai_ops = { .hw_params = atlas7_iacc_hw_params, .trigger = atlas7_iacc_trigger, };