aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMika Westerberg <[email protected]>2012-10-31 22:44:41 +0100
committerRafael J. Wysocki <[email protected]>2012-11-15 00:28:00 +0100
commitcf761af9ee0f2c172710ad2b7ca029016b5d4c45 (patch)
treec73b0ccfd422545508188fd8ee31ea2d192e1a82 /tools/perf/scripts/python/bin
parent06f64c8f239a47b359c60301914c783b56b32c13 (diff)
ACPI: Provide generic functions for matching ACPI device nodes
Introduce function acpi_match_device() allowing callers to match struct device objects with populated acpi_handle fields against arrays of ACPI device IDs. Also introduce function acpi_driver_match_device() using acpi_match_device() internally and allowing callers to match a struct device object against an array of ACPI device IDs provided by a device driver. Additionally, introduce macro ACPI_PTR() that may be used by device drivers to escape pointers to data structures whose definitions depend on CONFIG_ACPI. Signed-off-by: Mika Westerberg <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Acked-by: H. Peter Anvin <[email protected]> Acked-by: Tony Luck <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions