diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-09 18:03:48 +0900 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2013-08-09 15:29:10 +0200 |
commit | e0d391ab04910aa1304f181fc865471a1d1508ec (patch) | |
tree | 7d6a4b3a3c91db70254400a05ab21bbe4d83a88b /drivers | |
parent | 166e9334e9a716cf20c9c367b9bd28e13bb8608e (diff) |
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.c | 3 |
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; |