diff options
Diffstat (limited to 'drivers/pci/hotplug/acpiphp_glue.c')
-rw-r--r-- | drivers/pci/hotplug/acpiphp_glue.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c index 96fed19c6d90..716aa93fff76 100644 --- a/drivers/pci/hotplug/acpiphp_glue.c +++ b/drivers/pci/hotplug/acpiphp_glue.c | |||
@@ -950,6 +950,20 @@ check_sub_bridges(acpi_handle handle, u32 lvl, void *context, void **rv) | |||
950 | return AE_OK ; | 950 | return AE_OK ; |
951 | } | 951 | } |
952 | 952 | ||
953 | void acpiphp_check_host_bridge(acpi_handle handle) | ||
954 | { | ||
955 | struct acpiphp_bridge *bridge; | ||
956 | |||
957 | bridge = acpiphp_handle_to_bridge(handle); | ||
958 | if (bridge) { | ||
959 | acpiphp_check_bridge(bridge); | ||
960 | put_bridge(bridge); | ||
961 | } | ||
962 | |||
963 | acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, | ||
964 | ACPI_UINT32_MAX, check_sub_bridges, NULL, NULL, NULL); | ||
965 | } | ||
966 | |||
953 | static void _handle_hotplug_event_bridge(struct work_struct *work) | 967 | static void _handle_hotplug_event_bridge(struct work_struct *work) |
954 | { | 968 | { |
955 | struct acpiphp_bridge *bridge; | 969 | struct acpiphp_bridge *bridge; |