Skip to content

Commit

Permalink
x38_edac: Make a local function static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Borislav Petkov committed Aug 9, 2013
1 parent 166e933 commit e0d391a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/edac/x38_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e0d391a

Please sign in to comment.