aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv/include/asm/io.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-11-29 14:20:06 -0500
committerMichael S. Tsirkin <mst@redhat.com>2011-12-04 09:00:12 -0500
commit5322418502be4696ebdef2ed164bbd0a348d4816 (patch)
treef5a2e2ea9b1988c2ed811e46573f9bb0d8630b7c /arch/frv/include/asm/io.h
parent845501213033d0058945776349f15502823359d8 (diff)
frv: switch to GENERIC_PCI_IOMAP
frv uses a version of pci_iomap that simply casts and returns back the start address. Looking closely, both ioremap and ioport_map seem to do this on this platform, so the generic pci_iomap will DTRT automatically. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'arch/frv/include/asm/io.h')
-rw-r--r--arch/frv/include/asm/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/frv/include/asm/io.h b/arch/frv/include/asm/io.h
index ca7475e73b5e..8cb50a2fbcb2 100644
--- a/arch/frv/include/asm/io.h
+++ b/arch/frv/include/asm/io.h
@@ -21,6 +21,7 @@
21#include <asm/virtconvert.h> 21#include <asm/virtconvert.h>
22#include <asm/string.h> 22#include <asm/string.h>
23#include <asm/mb-regs.h> 23#include <asm/mb-regs.h>
24#include <asm-generic/pci_iomap.h>
24#include <linux/delay.h> 25#include <linux/delay.h>
25 26
26/* 27/*
@@ -370,7 +371,6 @@ static inline void iowrite32_rep(void __iomem *p, const void *src, unsigned long
370 371
371/* Create a virtual mapping cookie for a PCI BAR (memory or IO) */ 372/* Create a virtual mapping cookie for a PCI BAR (memory or IO) */
372struct pci_dev; 373struct pci_dev;
373extern void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max);
374static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) 374static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p)
375{ 375{
376} 376}