]> Pileus Git - ~andy/linux/blobdiff - drivers/acpi/scan.c
Merge branches 'acpi-processor', 'acpi-hotplug', 'acpi-init', 'acpi-pm' and 'acpica'
[~andy/linux] / drivers / acpi / scan.c
index e00365ccb89750e8e1dcd1987ad800de65f9bbed..7384158c7f8770ddc4cd78d1570171a4cce9aae9 100644 (file)
@@ -2105,6 +2105,7 @@ void acpi_bus_trim(struct acpi_device *adev)
        list_for_each_entry_reverse(child, &adev->children, node)
                acpi_bus_trim(child);
 
+       adev->flags.match_driver = false;
        if (handler) {
                if (handler->detach)
                        handler->detach(adev);