summaryrefslogtreecommitdiffstats
path: root/drivers/edac/i3200_edac.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-09 18:02:45 +0900
committerBorislav Petkov <bp@suse.de>2013-08-09 15:23:02 +0200
commit166e9334e9a716cf20c9c367b9bd28e13bb8608e (patch)
treee09f51a80a2e15b6dcb54abac721d20c84df6344 /drivers/edac/i3200_edac.c
parentf0a56c480196a98479760862468cc95879df3de0 (diff)
downloadlinux-166e9334e9a716cf20c9c367b9bd28e13bb8608e.tar.bz2
i3200_edac: Make a local function static
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>
Diffstat (limited to 'drivers/edac/i3200_edac.c')
-rw-r--r--drivers/edac/i3200_edac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/edac/i3200_edac.c b/drivers/edac/i3200_edac.c
index aa44c1718f50..be10a74b16ea 100644
--- a/drivers/edac/i3200_edac.c
+++ b/drivers/edac/i3200_edac.c
@@ -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;