]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / scan: introduce platform_id device PNP type flag
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 30 May 2014 02:26:18 +0000 (04:26 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 30 May 2014 14:04:36 +0000 (16:04 +0200)
commitda4590aa9b477ffb504182c5038b36a7dbf9aa8d
tree2809f36d9fbd4a08fdda59109a018cd5a11f72dc
parentc82dff51a5df7ef7b45fe393e326948f110ad7e5
ACPI / scan: introduce platform_id device PNP type flag

Only certain types of ACPI device objects can be enumerated as
platform devices, so in order to distinguish them from the others
introduce a new ACPI device PNP type flag, platform_id, and set it
for devices with a valid _HID to start with.

This change is based on a Zhang Rui's prototype.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/acpi/scan.c
include/acpi/acpi_bus.h