summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-09 18:03:48 +0900
committerBorislav Petkov <bp@suse.de>2013-08-09 15:29:10 +0200
commite0d391ab04910aa1304f181fc865471a1d1508ec (patch)
tree7d6a4b3a3c91db70254400a05ab21bbe4d83a88b /drivers
parent166e9334e9a716cf20c9c367b9bd28e13bb8608e (diff)
downloadop-kernel-dev-e0d391ab04910aa1304f181fc865471a1d1508ec.zip
op-kernel-dev-e0d391ab04910aa1304f181fc865471a1d1508ec.tar.gz
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')
-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 c9db24d..1a4df82 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;
OpenPOWER on IntegriCloud