|
@@ -655,7 +655,7 @@ static int __init pmac_probe(void)
|
|
/* Move that to pci.c */
|
|
/* Move that to pci.c */
|
|
static int pmac_pci_probe_mode(struct pci_bus *bus)
|
|
static int pmac_pci_probe_mode(struct pci_bus *bus)
|
|
{
|
|
{
|
|
- struct device_node *node = bus->sysdata;
|
|
|
|
|
|
+ struct device_node *node = pci_bus_to_OF_node(bus);
|
|
|
|
|
|
/* We need to use normal PCI probing for the AGP bus,
|
|
/* We need to use normal PCI probing for the AGP bus,
|
|
* since the device for the AGP bridge isn't in the tree.
|
|
* since the device for the AGP bridge isn't in the tree.
|