diff options
| author | Daniel Scally <djrscally@gmail.com> | 2021-06-03 23:40:03 +0100 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-06-07 16:48:05 +0200 |
| commit | b83e2b306736cb0d108df791fd4ee39f6d52184f (patch) | |
| tree | e00bcf6b0796c06391c931e7452e1adaafa4a4df /drivers/platform/surface/aggregator/core.c | |
| parent | ACPI: scan: Extend acpi_walk_dep_device_list() (diff) | |
| download | linux-b83e2b306736cb0d108df791fd4ee39f6d52184f.tar.gz linux-b83e2b306736cb0d108df791fd4ee39f6d52184f.zip | |
ACPI: scan: Add function to fetch dependent of ACPI device
In some ACPI tables we encounter, devices use the _DEP method to assert
a dependence on other ACPI devices as opposed to the OpRegions that the
specification intends.
We need to be able to find those devices "from" the dependee, so add
a callback and a wrapper to walk over the acpi_dep_list and return
the dependent ACPI device.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Daniel Scally <djrscally@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/platform/surface/aggregator/core.c')
0 files changed, 0 insertions, 0 deletions
