| 1 |
|
| 2 |
|
| 3 | #include <linux/uuid.h>
|
| 4 |
|
| 5 | #ifdef CONFIG_ACPI_PRMT
|
| 6 | void init_prmt(void);
|
| 7 | bool acpi_prm_handler_available(const guid_t *handler_guid);
|
| 8 | int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer);
|
| 9 | #else
|
| 10 | static inline void init_prmt(void) { }
|
| 11 | static inline bool acpi_prm_handler_available(const guid_t *handler_guid) { return false; }
|
| 12 | static inline int acpi_call_prm_handler(guid_t handler_guid, void *param_buffer)
|
| 13 | {
|
| 14 | return -EOPNOTSUPP;
|
| 15 | }
|
| 16 | #endif
|