提交 e0d391ab 编写于 作者: J Jingoo Han 提交者: Borislav Petkov

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: NJingoo Han <jg1.han@samsung.com>
[ Boris: Correct commit message ]
Signed-off-by: NBorislav Petkov <bp@suse.de>
上级 166e9334
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册