diff options
author | 2021-04-26 17:03:22 +0200 | |
---|---|---|
committer | 2021-04-26 17:03:22 +0200 | |
commit | ab497507c0e4df6282b9212c40cbc7acd5c55cdd (patch) | |
tree | d361a0ec2c31378b4d7dc5defea20ba7b2c593fe /include/linux/acpi.h | |
parent | Merge branches 'acpi-pci' and 'acpi-processor' (diff) | |
parent | hwmon: acpi_power_meter: Get rid of ACPICA message printing (diff) | |
download | linux-ab497507c0e4df6282b9212c40cbc7acd5c55cdd.tar.gz linux-ab497507c0e4df6282b9212c40cbc7acd5c55cdd.tar.bz2 linux-ab497507c0e4df6282b9212c40cbc7acd5c55cdd.zip |
Merge branch 'acpi-messages'
* acpi-messages:
hwmon: acpi_power_meter: Get rid of ACPICA message printing
IIO: acpi-als: Get rid of ACPICA message printing
ACPI: utils: Introduce acpi_evaluation_failure_warn()
ACPI: Drop unused ACPI_*_COMPONENT definitions and update documentation
ACPI: sysfs: Get rid of ACPICA message printing
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 3bdcfc4401b7..92f63b8a0180 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -1034,9 +1034,14 @@ static inline void acpi_ec_set_gpe_wake_mask(u8 action) {} __printf(3, 4) void acpi_handle_printk(const char *level, acpi_handle handle, const char *fmt, ...); +void acpi_evaluation_failure_warn(acpi_handle handle, const char *name, + acpi_status status); #else /* !CONFIG_ACPI */ static inline __printf(3, 4) void acpi_handle_printk(const char *level, void *handle, const char *fmt, ...) {} +static inline void acpi_evaluation_failure_warn(acpi_handle handle, + const char *name, + acpi_status status) {} #endif /* !CONFIG_ACPI */ #if defined(CONFIG_ACPI) && defined(CONFIG_DYNAMIC_DEBUG) |