Commit 04d695a6 authored by Mathias Krause's avatar Mathias Krause Committed by Ingo Molnar

x86/pci/probe_roms: Add missing __iomem annotation to pci_map_biosrom()

Stay in sync with the declaration and fix the corresponding
sparse warnings.
Signed-off-by: default avatarMathias 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.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 0ff8fef4
...@@ -150,7 +150,7 @@ static struct resource *find_oprom(struct pci_dev *pdev) ...@@ -150,7 +150,7 @@ static struct resource *find_oprom(struct pci_dev *pdev)
return oprom; 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); struct resource *oprom = find_oprom(pdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment