Skip to content

Commit

Permalink
x86/pci/probe_roms: Add missing __iomem annotation to pci_map_biosrom()
Browse files Browse the repository at this point in the history
Stay in sync with the declaration and fix the corresponding
sparse warnings.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Link: http://lkml.kernel.org/r/1346621506-30857-5-git-send-email-minipli@googlemail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
  • Loading branch information
Mathias Krause authored and Ingo Molnar committed Sep 5, 2012
1 parent 0ff8fef commit 04d695a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/probe_roms.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ static struct resource *find_oprom(struct pci_dev *pdev)
return oprom;
}

void *pci_map_biosrom(struct pci_dev *pdev)
void __iomem *pci_map_biosrom(struct pci_dev *pdev)
{
struct resource *oprom = find_oprom(pdev);

Expand Down

0 comments on commit 04d695a

Please sign in to comment.