summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/probe_roms.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2012-09-02 23:31:43 +0200
committerIngo Molnar <mingo@kernel.org>2012-09-05 10:52:25 +0200
commit04d695a6828bca54d53305246545cd1f8a841ac6 (patch)
treefef3eb65582f285f74c54c567d9d8d1b1bced7e7 /arch/x86/kernel/probe_roms.c
parent0ff8fef4eaf252ee13a2d0b175a8c876415bd62a (diff)
downloadlinux-sh-04d695a6828bca54d53305246545cd1f8a841ac6.tar.gz
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>
Diffstat (limited to 'arch/x86/kernel/probe_roms.c')
-rw-r--r--arch/x86/kernel/probe_roms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/probe_roms.c b/arch/x86/kernel/probe_roms.c
index 0bc72e2069e3..d5f15c3f7b25 100644
--- a/arch/x86/kernel/probe_roms.c
+++ b/arch/x86/kernel/probe_roms.c
@@ -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);