Commit 04d695a6828bca54d53305246545cd1f8a841ac6

Authored by Mathias Krause
Committed by Ingo Molnar
1 parent 0ff8fef4ea

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: 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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/x86/kernel/probe_roms.c
... ... @@ -150,7 +150,7 @@
150 150 return oprom;
151 151 }
152 152  
153   -void *pci_map_biosrom(struct pci_dev *pdev)
  153 +void __iomem *pci_map_biosrom(struct pci_dev *pdev)
154 154 {
155 155 struct resource *oprom = find_oprom(pdev);
156 156