diff options
Diffstat (limited to 'arch/mips/sni/pcimt.c')
-rw-r--r-- | arch/mips/sni/pcimt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/sni/pcimt.c b/arch/mips/sni/pcimt.c index cec4b8ca1438..12336c2a649c 100644 --- a/arch/mips/sni/pcimt.c +++ b/arch/mips/sni/pcimt.c | |||
@@ -185,6 +185,7 @@ static void __init sni_pcimt_resource_init(void) | |||
185 | 185 | ||
186 | extern struct pci_ops sni_pcimt_ops; | 186 | extern struct pci_ops sni_pcimt_ops; |
187 | 187 | ||
188 | #ifdef CONFIG_PCI | ||
188 | static struct pci_controller sni_controller = { | 189 | static struct pci_controller sni_controller = { |
189 | .pci_ops = &sni_pcimt_ops, | 190 | .pci_ops = &sni_pcimt_ops, |
190 | .mem_resource = &sni_mem_resource, | 191 | .mem_resource = &sni_mem_resource, |
@@ -193,6 +194,7 @@ static struct pci_controller sni_controller = { | |||
193 | .io_offset = 0x00000000UL, | 194 | .io_offset = 0x00000000UL, |
194 | .io_map_base = SNI_PORT_BASE | 195 | .io_map_base = SNI_PORT_BASE |
195 | }; | 196 | }; |
197 | #endif | ||
196 | 198 | ||
197 | static void enable_pcimt_irq(struct irq_data *d) | 199 | static void enable_pcimt_irq(struct irq_data *d) |
198 | { | 200 | { |