From: Jingoo Han Date: Fri, 9 Aug 2013 09:03:48 +0000 (+0900) Subject: x38_edac: Make a local function static X-Git-Tag: next-20130822~39^2~2^2^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e0d391ab04910aa1304f181fc865471a1d1508ec;p=karo-tx-linux.git x38_edac: Make a local function static Make a local function static in order to fix the following sparse warning: drivers/edac/x38_edac.c:252:14: warning: symbol 'x38_map_mchbar' was not declared. Should it be static? Signed-off-by: Jingoo Han [ Boris: Correct commit message ] Signed-off-by: Borislav Petkov --- diff --git a/drivers/edac/x38_edac.c b/drivers/edac/x38_edac.c index c9db24d95caa..1a4df82376ba 100644 --- a/drivers/edac/x38_edac.c +++ b/drivers/edac/x38_edac.c @@ -248,8 +248,7 @@ static void x38_check(struct mem_ctl_info *mci) x38_process_error_info(mci, &info); } - -void __iomem *x38_map_mchbar(struct pci_dev *pdev) +static void __iomem *x38_map_mchbar(struct pci_dev *pdev) { union { u64 mchbar;