[tip:x86/debug] x86/pci/probe_roms: Add missing __iomem annotation to pci_map_biosrom()
diff mbox series

Message ID tip-04d695a6828bca54d53305246545cd1f8a841ac6@git.kernel.org
State New, archived
Headers show
  • [tip:x86/debug] x86/pci/probe_roms: Add missing __iomem annotation to pci_map_biosrom()
Related show

Commit Message

Mathias Krause Sept. 5, 2012, 10:57 a.m. UTC
Commit-ID:  04d695a6828bca54d53305246545cd1f8a841ac6
Gitweb:     http://git.kernel.org/tip/04d695a6828bca54d53305246545cd1f8a841ac6
Author:     Mathias Krause <minipli@googlemail.com>
AuthorDate: Sun, 2 Sep 2012 23:31:43 +0200
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Wed, 5 Sep 2012 10:52:25 +0200

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>
 arch/x86/kernel/probe_roms.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

diff mbox series

diff --git a/arch/x86/kernel/probe_roms.c b/arch/x86/kernel/probe_roms.c
index 0bc72e2..d5f15c3 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);