PCI: fix pci_ioremap_bar() on s390
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 20 Oct 2008 17:45:43 +0000 (19:45 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 18:28:34 +0000 (11:28 -0700)
commit96499871f45b9126157b1a5c512d6e30f1635225
treee32b112aa25dca6f3e4278e5718c1c2135e6519d
parent270c66be9b4a6f2be53ef3aec5dc8e7b07782ec9
PCI: fix pci_ioremap_bar() on s390

s390 doesn't have ioremap_*, so protect the definition of the new
pci_ioremap_bar function with CONFIG_HAS_IOMEM to avoid build breakage.

Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
include/linux/pci.h