summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/pci_iomap.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-03-06 09:09:16 +0100
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-03-06 09:09:16 +0100
commitd282e4d9353b9e7971713aa9e78da716e4a1262d (patch)
tree123aa2391841f37f4b8ae80c02eda4094e17994a /include/asm-generic/pci_iomap.h
parentMerge pull request #1 from bernieplug/fbdev-next (diff)
parentLinux 3.3-rc6 (diff)
downloadlinux-d282e4d9353b9e7971713aa9e78da716e4a1262d.tar.xz
linux-d282e4d9353b9e7971713aa9e78da716e4a1262d.zip
Merge commit 'v3.3-rc6' into fbdev-next
Diffstat (limited to 'include/asm-generic/pci_iomap.h')
-rw-r--r--include/asm-generic/pci_iomap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/pci_iomap.h b/include/asm-generic/pci_iomap.h
index e58fcf891370..ce37349860fe 100644
--- a/include/asm-generic/pci_iomap.h
+++ b/include/asm-generic/pci_iomap.h
@@ -25,7 +25,7 @@ extern void __iomem *__pci_ioport_map(struct pci_dev *dev, unsigned long port,
#define __pci_ioport_map(dev, port, nr) ioport_map((port), (nr))
#endif
-#else
+#elif defined(CONFIG_GENERIC_PCI_IOMAP)
static inline void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max)
{
return NULL;