diff options
Diffstat (limited to 'arch/ia64/pci/pci.c')
-rw-r--r-- | arch/ia64/pci/pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index 2326790b7d8b..9e4938d8ca4d 100644 --- a/arch/ia64/pci/pci.c +++ b/arch/ia64/pci/pci.c | |||
@@ -436,9 +436,9 @@ struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root) | |||
436 | if (!controller) | 436 | if (!controller) |
437 | return NULL; | 437 | return NULL; |
438 | 438 | ||
439 | controller->acpi_handle = device->handle; | 439 | controller->companion = device; |
440 | 440 | ||
441 | pxm = acpi_get_pxm(controller->acpi_handle); | 441 | pxm = acpi_get_pxm(device->handle); |
442 | #ifdef CONFIG_NUMA | 442 | #ifdef CONFIG_NUMA |
443 | if (pxm >= 0) | 443 | if (pxm >= 0) |
444 | controller->node = pxm_to_node(pxm); | 444 | controller->node = pxm_to_node(pxm); |
@@ -489,7 +489,7 @@ int pcibios_root_bridge_prepare(struct pci_host_bridge *bridge) | |||
489 | { | 489 | { |
490 | struct pci_controller *controller = bridge->bus->sysdata; | 490 | struct pci_controller *controller = bridge->bus->sysdata; |
491 | 491 | ||
492 | ACPI_HANDLE_SET(&bridge->dev, controller->acpi_handle); | 492 | ACPI_COMPANION_SET(&bridge->dev, controller->companion); |
493 | return 0; | 493 | return 0; |
494 | } | 494 | } |
495 | 495 | ||