diff options
author | Zhang Rui <rui.zhang@intel.com> | 2014-05-30 16:35:34 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-30 18:04:37 +0400 |
commit | 48459340b92b00ae1a75179f168ef20d3e61f264 (patch) | |
tree | 46ee03d1984eba3272131619977ac3f2751c1ab0 /drivers/gpu/drm/radeon/radeon_display.c | |
parent | d6ddaaac8f5c37ad84db3e6e019981f392389cf0 (diff) | |
download | linux-48459340b92b00ae1a75179f168ef20d3e61f264.tar.xz |
ACPI / scan: use platform bus type by default for _HID enumeration
Because of the growing demand for enumerating ACPI devices to
platform bus, change the code to enumerate ACPI device objects to
platform bus by default. Namely, create platform devices for the
ACPI device objects that
1. Have pnp.type.platform_id set (device objects with _HID currently).
2. Do not have a scan handler attached.
3. Are not SPI/I2C slave devices (that should be enumerated to the
appropriate buses bus by their parent).
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
[rjw: Subject and changelog, rebase and code cleanup]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_display.c')
0 files changed, 0 insertions, 0 deletions