at master 495 B view raw
1/* SPDX-License-Identifier: GPL-2.0-only */ 2 3#include <linux/uuid.h> 4 5#ifdef CONFIG_ACPI_PRMT 6void init_prmt(void); 7bool acpi_prm_handler_available(const guid_t *handler_guid); 8int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer); 9#else 10static inline void init_prmt(void) { } 11static inline bool acpi_prm_handler_available(const guid_t *handler_guid) { return false; } 12static inline int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer) 13{ 14 return -EOPNOTSUPP; 15} 16#endif