diff options
Diffstat (limited to 'drivers/acpi/pci_slot.c')
-rw-r--r-- | drivers/acpi/pci_slot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/pci_slot.c b/drivers/acpi/pci_slot.c index 45da2bae36c..11f21974320 100644 --- a/drivers/acpi/pci_slot.c +++ b/drivers/acpi/pci_slot.c | |||
@@ -219,12 +219,12 @@ walk_p2p_bridge(acpi_handle handle, u32 lvl, void *context, void **rv) | |||
219 | 219 | ||
220 | dbg("p2p bridge walk, pci_bus = %x\n", dev->subordinate->number); | 220 | dbg("p2p bridge walk, pci_bus = %x\n", dev->subordinate->number); |
221 | status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, (u32)1, | 221 | status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, (u32)1, |
222 | user_function, &child_context, NULL); | 222 | user_function, NULL, &child_context, NULL); |
223 | if (ACPI_FAILURE(status)) | 223 | if (ACPI_FAILURE(status)) |
224 | goto out; | 224 | goto out; |
225 | 225 | ||
226 | status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, (u32)1, | 226 | status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, (u32)1, |
227 | walk_p2p_bridge, &child_context, NULL); | 227 | walk_p2p_bridge, NULL, &child_context, NULL); |
228 | out: | 228 | out: |
229 | pci_dev_put(dev); | 229 | pci_dev_put(dev); |
230 | return AE_OK; | 230 | return AE_OK; |
@@ -277,12 +277,12 @@ walk_root_bridge(acpi_handle handle, acpi_walk_callback user_function) | |||
277 | 277 | ||
278 | dbg("root bridge walk, pci_bus = %x\n", pci_bus->number); | 278 | dbg("root bridge walk, pci_bus = %x\n", pci_bus->number); |
279 | status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, (u32)1, | 279 | status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, (u32)1, |
280 | user_function, &context, NULL); | 280 | user_function, NULL, &context, NULL); |
281 | if (ACPI_FAILURE(status)) | 281 | if (ACPI_FAILURE(status)) |
282 | return status; | 282 | return status; |
283 | 283 | ||
284 | status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, (u32)1, | 284 | status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, (u32)1, |
285 | walk_p2p_bridge, &context, NULL); | 285 | walk_p2p_bridge, NULL, &context, NULL); |
286 | if (ACPI_FAILURE(status)) | 286 | if (ACPI_FAILURE(status)) |
287 | err("%s: walk_p2p_bridge failure - %d\n", __func__, status); | 287 | err("%s: walk_p2p_bridge failure - %d\n", __func__, status); |
288 | 288 | ||