diff options
Diffstat (limited to 'arch/powerpc/kernel/legacy_serial.c')
| -rw-r--r-- | arch/powerpc/kernel/legacy_serial.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/legacy_serial.c b/arch/powerpc/kernel/legacy_serial.c index f970ace208d3..c7a799a09516 100644 --- a/arch/powerpc/kernel/legacy_serial.c +++ b/arch/powerpc/kernel/legacy_serial.c | |||
| @@ -134,7 +134,6 @@ static int __init add_legacy_soc_port(struct device_node *np, | |||
| 134 | return add_legacy_port(np, -1, UPIO_MEM, addr, addr, NO_IRQ, flags); | 134 | return add_legacy_port(np, -1, UPIO_MEM, addr, addr, NO_IRQ, flags); |
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | #ifdef CONFIG_ISA | ||
| 138 | static int __init add_legacy_isa_port(struct device_node *np, | 137 | static int __init add_legacy_isa_port(struct device_node *np, |
| 139 | struct device_node *isa_brg) | 138 | struct device_node *isa_brg) |
| 140 | { | 139 | { |
| @@ -168,7 +167,6 @@ static int __init add_legacy_isa_port(struct device_node *np, | |||
| 168 | return add_legacy_port(np, index, UPIO_PORT, reg[1], taddr, NO_IRQ, UPF_BOOT_AUTOCONF); | 167 | return add_legacy_port(np, index, UPIO_PORT, reg[1], taddr, NO_IRQ, UPF_BOOT_AUTOCONF); |
| 169 | 168 | ||
| 170 | } | 169 | } |
| 171 | #endif | ||
| 172 | 170 | ||
| 173 | #ifdef CONFIG_PCI | 171 | #ifdef CONFIG_PCI |
| 174 | static int __init add_legacy_pci_port(struct device_node *np, | 172 | static int __init add_legacy_pci_port(struct device_node *np, |
| @@ -276,7 +274,6 @@ void __init find_legacy_serial_ports(void) | |||
| 276 | of_node_put(soc); | 274 | of_node_put(soc); |
| 277 | } | 275 | } |
| 278 | 276 | ||
| 279 | #ifdef CONFIG_ISA | ||
| 280 | /* First fill our array with ISA ports */ | 277 | /* First fill our array with ISA ports */ |
| 281 | for (np = NULL; (np = of_find_node_by_type(np, "serial"));) { | 278 | for (np = NULL; (np = of_find_node_by_type(np, "serial"));) { |
| 282 | struct device_node *isa = of_get_parent(np); | 279 | struct device_node *isa = of_get_parent(np); |
| @@ -287,7 +284,6 @@ void __init find_legacy_serial_ports(void) | |||
| 287 | } | 284 | } |
| 288 | of_node_put(isa); | 285 | of_node_put(isa); |
| 289 | } | 286 | } |
| 290 | #endif | ||
| 291 | 287 | ||
| 292 | #ifdef CONFIG_PCI | 288 | #ifdef CONFIG_PCI |
| 293 | /* Next, try to locate PCI ports */ | 289 | /* Next, try to locate PCI ports */ |
