summaryrefslogtreecommitdiff
path: root/drivers/edac/x38_edac.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-09 13:03:48 +0400
committerBorislav Petkov <bp@suse.de>2013-08-09 17:29:10 +0400
commite0d391ab04910aa1304f181fc865471a1d1508ec (patch)
tree7d6a4b3a3c91db70254400a05ab21bbe4d83a88b /drivers/edac/x38_edac.c
parent166e9334e9a716cf20c9c367b9bd28e13bb8608e (diff)
downloadlinux-e0d391ab04910aa1304f181fc865471a1d1508ec.tar.xz
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 <jg1.han@samsung.com> [ Boris: Correct commit message ] Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/x38_edac.c')
-rw-r--r--drivers/edac/x38_edac.c3
1 files changed, 1 insertions, 2 deletions
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;