17 lines
495 B
C
17 lines
495 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#include <linux/uuid.h>
|
|
|
|
#ifdef CONFIG_ACPI_PRMT
|
|
void init_prmt(void);
|
|
bool acpi_prm_handler_available(const guid_t *handler_guid);
|
|
int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer);
|
|
#else
|
|
static inline void init_prmt(void) { }
|
|
static inline bool acpi_prm_handler_available(const guid_t *handler_guid) { return false; }
|
|
static inline int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer)
|
|
{
|
|
return -EOPNOTSUPP;
|
|
}
|
|
#endif
|