diff options
Diffstat (limited to 'arch/powerpc/include/asm/io.h')
-rw-r--r-- | arch/powerpc/include/asm/io.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h index a3855b81eada..f94ef4213e9d 100644 --- a/arch/powerpc/include/asm/io.h +++ b/arch/powerpc/include/asm/io.h | |||
@@ -20,6 +20,14 @@ extern int check_legacy_ioport(unsigned long base_port); | |||
20 | #define _PNPWRP 0xa79 | 20 | #define _PNPWRP 0xa79 |
21 | #define PNPBIOS_BASE 0xf000 | 21 | #define PNPBIOS_BASE 0xf000 |
22 | 22 | ||
23 | #if defined(CONFIG_PPC64) && defined(CONFIG_PCI) | ||
24 | extern struct pci_dev *isa_bridge_pcidev; | ||
25 | /* | ||
26 | * has legacy ISA devices ? | ||
27 | */ | ||
28 | #define arch_has_dev_port() (isa_bridge_pcidev != NULL) | ||
29 | #endif | ||
30 | |||
23 | #include <linux/device.h> | 31 | #include <linux/device.h> |
24 | #include <linux/io.h> | 32 | #include <linux/io.h> |
25 | 33 | ||