aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index c0f57ff15024..089dc403c43b 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -2044,6 +2044,7 @@ void acpi_bus_trim(struct acpi_device *adev)
2044 list_for_each_entry_reverse(child, &adev->children, node) 2044 list_for_each_entry_reverse(child, &adev->children, node)
2045 acpi_bus_trim(child); 2045 acpi_bus_trim(child);
2046 2046
2047 adev->flags.match_driver = false;
2047 if (handler) { 2048 if (handler) {
2048 if (handler->detach) 2049 if (handler->detach)
2049 handler->detach(adev); 2050 handler->detach(adev);