From mboxrd@z Thu Jan 1 00:00:00 1970 From: soren.brinkmann@xilinx.com (=?utf-8?B?U8O2cmVu?= Brinkmann) Date: Thu, 29 Sep 2016 23:30:12 -0700 Subject: [PATCH 2/2] mmc: sdhci-of-arasan: mark sdhci_arasan_reset() static In-Reply-To: <1475199459-4775-2-git-send-email-baoyou.xie@linaro.org> References: <1475199459-4775-1-git-send-email-baoyou.xie@linaro.org> <1475199459-4775-2-git-send-email-baoyou.xie@linaro.org> Message-ID: <20160930063012.GL16583@xsjsorenbubuntu> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 There is already a patch for this: https://patchwork.kernel.org/patch/9349805/ S?ren