diff options
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/cell/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/setup.c b/arch/powerpc/platforms/cell/setup.c index d1be268b1e6e..36cff28d0293 100644 --- a/arch/powerpc/platforms/cell/setup.c +++ b/arch/powerpc/platforms/cell/setup.c | |||
@@ -127,13 +127,13 @@ static int cell_setup_phb(struct pci_controller *phb) | |||
127 | if (rc) | 127 | if (rc) |
128 | return rc; | 128 | return rc; |
129 | 129 | ||
130 | phb->controller_ops = cell_pci_controller_ops; | ||
131 | |||
130 | np = phb->dn; | 132 | np = phb->dn; |
131 | model = of_get_property(np, "model", NULL); | 133 | model = of_get_property(np, "model", NULL); |
132 | if (model == NULL || strcmp(np->name, "pci")) | 134 | if (model == NULL || strcmp(np->name, "pci")) |
133 | return 0; | 135 | return 0; |
134 | 136 | ||
135 | phb->controller_ops = cell_pci_controller_ops; | ||
136 | |||
137 | /* Setup workarounds for spider */ | 137 | /* Setup workarounds for spider */ |
138 | if (strcmp(model, "Spider")) | 138 | if (strcmp(model, "Spider")) |
139 | return 0; | 139 | return 0; |