diff options
author | Saurabh Sengar <[email protected]> | 2023-03-20 00:47:37 -0700 |
---|---|---|
committer | Wei Liu <[email protected]> | 2023-04-17 19:16:22 +0000 |
commit | 1f6277bf716cc5ba0e3fa0c3e0af1adb4160fb5d (patch) | |
tree | fcbabbc0d402848b49a0b80c625ee7fc57e06249 /tools/perf/scripts/python/libxed.py | |
parent | a4fea9b78ebea6df9a61f34cfc2f7ed0bbc8a9fc (diff) |
ACPI: bus: Add stub acpi_sleep_state_supported() in non-ACPI cases
acpi_sleep_state_supported() is defined only when CONFIG_ACPI=y. The
function is in acpi_bus.h, and acpi_bus.h can only be used in
CONFIG_ACPI=y cases. Add the stub function to linux/acpi.h to make
compilation successful for !CONFIG_ACPI cases.
Signed-off-by: Saurabh Sengar <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions