Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0d391ab authored by Jingoo Han's avatar Jingoo Han Committed by Borislav Petkov
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
[ Boris: Correct commit message ]
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
parent 166e9334
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -248,8 +248,7 @@ static void x38_check(struct mem_ctl_info *mci)
	x38_process_error_info(mci, &info);
	x38_process_error_info(mci, &info);
}
}



static void __iomem *x38_map_mchbar(struct pci_dev *pdev)
void __iomem *x38_map_mchbar(struct pci_dev *pdev)
{
{
	union {
	union {
		u64 mchbar;
		u64 mchbar;