summaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_bus.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-29 13:57:20 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-29 13:57:20 +0100
commit2c0d4fe0189ae5e29fd9602d5b83f3b2b169bd1b (patch)
tree0ab0707d11728e9622b63b4caca8d911a896babc /include/acpi/acpi_bus.h
parent8a78cf70fae587b0691b4b982bc69c1261e05e76 (diff)
downloadop-kernel-dev-2c0d4fe0189ae5e29fd9602d5b83f3b2b169bd1b.zip
op-kernel-dev-2c0d4fe0189ae5e29fd9602d5b83f3b2b169bd1b.tar.gz
ACPI / scan: Make scanning of fixed devices follow the general scheme
Make acpi_bus_scan_fixed() use device_attach() directly to attach drivers, if any, to the fixed devices in analogy with how acpi_bus_scan() works, which allows the last argument of acpi_add_single_object() to be dropped and the manipulation of the flags.match_driver bit to be moved to acpi_init_device_object() and acpi_device_add_finalize(). After these changes all of the functions for the initialization and registration of struct acpi_device objects work in the same way for all of them. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Yinghai Lu <yinghai@kernel.org>
Diffstat (limited to 'include/acpi/acpi_bus.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud