[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160930063012.GL16583@xsjsorenbubuntu>
Date: Thu, 29 Sep 2016 23:30:12 -0700
From: Sören Brinkmann <soren.brinkmann@...inx.com>
To: Baoyou Xie <baoyou.xie@...aro.org>
CC: <michal.simek@...inx.com>, <adrian.hunter@...el.com>,
<ulf.hansson@...aro.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-mmc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<arnd@...db.de>, <xie.baoyou@....com.cn>, <han.fei@....com.cn>,
<tang.qiang007@....com.cn>
Subject: Re: [PATCH 2/2] mmc: sdhci-of-arasan: mark sdhci_arasan_reset()
static
On Fri, 2016-09-30 at 09:37:39 +0800, Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1:
> drivers/mmc/host/sdhci-of-arasan.c:253:6: warning: no previous prototype for 'sdhci_arasan_reset' [-Wmissing-prototypes]
>
> In fact, this function is only used in the file in which it is
> declared and don't need a declaration, but can be made static.
> So this patch marks it 'static'.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@...aro.org>
There is already a patch for this:
https://patchwork.kernel.org/patch/9349805/
Sören
Powered by blists - more mailing lists