]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x38_edac: Make a local function static
authorJingoo Han <jg1.han@samsung.com>
Fri, 9 Aug 2013 09:03:48 +0000 (18:03 +0900)
committerBorislav Petkov <bp@suse.de>
Fri, 9 Aug 2013 13:29:10 +0000 (15:29 +0200)
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 <jg1.han@samsung.com>
[ Boris: Correct commit message ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/x38_edac.c

index c9db24d95caad3b7550f936a24bd802428b8d4e2..1a4df82376ba425236f569905a589125c72ccf2a 100644 (file)
@@ -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;