x86/pci/probe_roms: Add missing __iomem annotation to pci_map_biosrom()
authorMathias Krause <minipli@googlemail.com>
Sun, 2 Sep 2012 21:31:43 +0000 (23:31 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 5 Sep 2012 08:52:25 +0000 (10:52 +0200)
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>
arch/x86/kernel/probe_roms.c

index 0bc72e2069e326b8c1d3a2e99213861621d9458c..d5f15c3f7b25e11996bcaf41826d46fc4645bc8f 100644 (file)
@@ -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);