diff options
Diffstat (limited to 'include/linux/prmt.h')
-rw-r--r-- | include/linux/prmt.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/prmt.h b/include/linux/prmt.h new file mode 100644 index 000000000000..c53ab287e932 --- /dev/null +++ b/include/linux/prmt.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <linux/uuid.h> + +#ifdef CONFIG_ACPI_PRMT +void init_prmt(void); +int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer); +#else +static inline void init_prmt(void) { } +static inline int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer) +{ + return -EOPNOTSUPP; +} +#endif |