mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
clevo_interfaces: Move resource ID defs
This commit is contained in:
parent
8667006c4a
commit
1f8b5a66b3
|
@ -24,8 +24,6 @@
|
|||
#include "clevo_interfaces.h"
|
||||
|
||||
#define DRIVER_NAME "clevo_acpi"
|
||||
#define CLEVO_ACPI_RESOURCE_HID "CLV0001"
|
||||
#define CLEVO_ACPI_DSM_UUID "93f224e4-fbdc-4bbf-add6-db71bdc0afad"
|
||||
|
||||
struct clevo_acpi_driver_data_t {
|
||||
struct acpi_device *adev;
|
||||
|
|
|
@ -22,6 +22,13 @@
|
|||
|
||||
#include <linux/types.h>
|
||||
|
||||
#define CLEVO_WMI_EVENT_GUID "ABBC0F6B-8EA1-11D1-00A0-C90629100000"
|
||||
#define CLEVO_WMI_EMAIL_GUID "ABBC0F6C-8EA1-11D1-00A0-C90629100000"
|
||||
#define CLEVO_WMI_METHOD_GUID "ABBC0F6D-8EA1-11D1-00A0-C90629100000"
|
||||
|
||||
#define CLEVO_ACPI_RESOURCE_HID "CLV0001"
|
||||
#define CLEVO_ACPI_DSM_UUID "93f224e4-fbdc-4bbf-add6-db71bdc0afad"
|
||||
|
||||
// The clevo get commands expect no parameters
|
||||
#define CLEVO_CMD_GET_FANINFO1 0x63
|
||||
#define CLEVO_CMD_GET_FANINFO2 0x64
|
||||
|
|
|
@ -24,10 +24,6 @@
|
|||
#include <linux/version.h>
|
||||
#include "clevo_interfaces.h"
|
||||
|
||||
#define CLEVO_WMI_EVENT_GUID "ABBC0F6B-8EA1-11D1-00A0-C90629100000"
|
||||
#define CLEVO_WMI_EMAIL_GUID "ABBC0F6C-8EA1-11D1-00A0-C90629100000"
|
||||
#define CLEVO_WMI_METHOD_GUID "ABBC0F6D-8EA1-11D1-00A0-C90629100000"
|
||||
|
||||
static int clevo_wmi_evaluate(u32 wmi_method_id, u32 wmi_arg, u32 *result)
|
||||
{
|
||||
struct acpi_buffer acpi_buffer_in = { (acpi_size)sizeof(wmi_arg),
|
||||
|
|
Loading…
Reference in a new issue