i3200_edac: Make a local function static
authorJingoo Han <jg1.han@samsung.com>
Fri, 9 Aug 2013 09:02:45 +0000 (18:02 +0900)
committerBorislav Petkov <bp@suse.de>
Fri, 9 Aug 2013 13:23:02 +0000 (15:23 +0200)
This local symbol is used only in this file.
Fix the following sparse warnings:

drivers/edac/i3200_edac.c:264:14: warning: symbol 'i3200_map_mchbar' was not declared. Should it be static?

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/i3200_edac.c

index aa44c1718f50382eac5a87b1c9bef5e33db020e1..be10a74b16ea7132cf895acaf51a03eaec5ae9d5 100644 (file)
@@ -260,8 +260,7 @@ static void i3200_check(struct mem_ctl_info *mci)
        i3200_process_error_info(mci, &info);
 }
 
-
-void __iomem *i3200_map_mchbar(struct pci_dev *pdev)
+static void __iomem *i3200_map_mchbar(struct pci_dev *pdev)
 {
        union {
                u64 mchbar;
This page took 0.025704 seconds and 5 git commands to generate.