diff options
Diffstat (limited to 'arch/powerpc/platforms/cell/setup.c')
-rw-r--r-- | arch/powerpc/platforms/cell/setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/setup.c b/arch/powerpc/platforms/cell/setup.c index d62aa982d530..36cff28d0293 100644 --- a/arch/powerpc/platforms/cell/setup.c +++ b/arch/powerpc/platforms/cell/setup.c | |||
@@ -54,6 +54,7 @@ | |||
54 | #include <asm/cell-regs.h> | 54 | #include <asm/cell-regs.h> |
55 | #include <asm/io-workarounds.h> | 55 | #include <asm/io-workarounds.h> |
56 | 56 | ||
57 | #include "cell.h" | ||
57 | #include "interrupt.h" | 58 | #include "interrupt.h" |
58 | #include "pervasive.h" | 59 | #include "pervasive.h" |
59 | #include "ras.h" | 60 | #include "ras.h" |
@@ -126,6 +127,8 @@ static int cell_setup_phb(struct pci_controller *phb) | |||
126 | if (rc) | 127 | if (rc) |
127 | return rc; | 128 | return rc; |
128 | 129 | ||
130 | phb->controller_ops = cell_pci_controller_ops; | ||
131 | |||
129 | np = phb->dn; | 132 | np = phb->dn; |
130 | model = of_get_property(np, "model", NULL); | 133 | model = of_get_property(np, "model", NULL); |
131 | if (model == NULL || strcmp(np->name, "pci")) | 134 | if (model == NULL || strcmp(np->name, "pci")) |
@@ -279,3 +282,5 @@ define_machine(cell) { | |||
279 | .init_IRQ = cell_init_irq, | 282 | .init_IRQ = cell_init_irq, |
280 | .pci_setup_phb = cell_setup_phb, | 283 | .pci_setup_phb = cell_setup_phb, |
281 | }; | 284 | }; |
285 | |||
286 | struct pci_controller_ops cell_pci_controller_ops; | ||