diff options
| author | Rafael J. Wysocki <[email protected]> | 2014-01-27 22:08:09 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2014-01-29 10:40:43 +0000 |
| commit | a951c773bc39677ef3fa42814be7f5218a3100b2 (patch) | |
| tree | 49a241142e9a90d0b640f2be5e68d91d951e52db /drivers/acpi/processor_core.c | |
| parent | ACPI / memhotplug: add parameter to disable memory hotplug (diff) | |
| download | kernel-a951c773bc39677ef3fa42814be7f5218a3100b2.tar.gz kernel-a951c773bc39677ef3fa42814be7f5218a3100b2.zip | |
ACPI / scan: Clear match_driver flag in acpi_bus_trim()
Drivers should not bind to struct acpi_device objects that
acpi_bus_trim() has been called for, so make that function
clear flags.match_driver for those objects.
If that is not done, an ACPI driver may theoretically try to operate
a device that is not physically present.
Fixes: 202317a573b2 (ACPI / scan: Add acpi_device objects for all device nodes in the namespace)
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Toshi Kani <[email protected]>
Diffstat (limited to 'drivers/acpi/processor_core.c')
0 files changed, 0 insertions, 0 deletions
