diff --git a/src/tuxedo_io/tuxedo_io.c b/src/tuxedo_io/tuxedo_io.c index fb20372..8fb8088 100644 --- a/src/tuxedo_io/tuxedo_io.c +++ b/src/tuxedo_io/tuxedo_io.c @@ -288,7 +288,7 @@ static long uniwill_ioctl_interface(struct file *file, unsigned int cmd, unsigne uniwill_write_ec_ram(0x0741, argument & 0x01); */ break; - case W_UW_FANAUTO: + case W_UW_FANAUTO: uw_set_fan_auto(); break; #ifdef DEBUG @@ -348,8 +348,8 @@ static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg) static struct file_operations fops_dev = { .owner = THIS_MODULE, .unlocked_ioctl = fop_ioctl -// .open = fop_open, -// .release = fop_release +// .open = fop_open, +// .release = fop_release }; struct class *tuxedo_io_device_class; diff --git a/src/uniwill_interfaces.h b/src/uniwill_interfaces.h index d222d52..e66bff2 100644 --- a/src/uniwill_interfaces.h +++ b/src/uniwill_interfaces.h @@ -21,13 +21,13 @@ #include -#define UNIWILL_WMI_MGMT_GUID_BA "ABBC0F6D-8EA1-11D1-00A0-C90629100000" -#define UNIWILL_WMI_MGMT_GUID_BB "ABBC0F6E-8EA1-11D1-00A0-C90629100000" -#define UNIWILL_WMI_MGMT_GUID_BC "ABBC0F6F-8EA1-11D1-00A0-C90629100000" +#define UNIWILL_WMI_MGMT_GUID_BA "ABBC0F6D-8EA1-11D1-00A0-C90629100000" +#define UNIWILL_WMI_MGMT_GUID_BB "ABBC0F6E-8EA1-11D1-00A0-C90629100000" +#define UNIWILL_WMI_MGMT_GUID_BC "ABBC0F6F-8EA1-11D1-00A0-C90629100000" -#define UNIWILL_WMI_EVENT_GUID_0 "ABBC0F70-8EA1-11D1-00A0-C90629100000" -#define UNIWILL_WMI_EVENT_GUID_1 "ABBC0F71-8EA1-11D1-00A0-C90629100000" -#define UNIWILL_WMI_EVENT_GUID_2 "ABBC0F72-8EA1-11D1-00A0-C90629100000" +#define UNIWILL_WMI_EVENT_GUID_0 "ABBC0F70-8EA1-11D1-00A0-C90629100000" +#define UNIWILL_WMI_EVENT_GUID_1 "ABBC0F71-8EA1-11D1-00A0-C90629100000" +#define UNIWILL_WMI_EVENT_GUID_2 "ABBC0F72-8EA1-11D1-00A0-C90629100000" #define MODULE_ALIAS_UNIWILL_WMI() \ MODULE_ALIAS("wmi:" UNIWILL_WMI_EVENT_GUID_2); \ diff --git a/src/uniwill_keyboard.h b/src/uniwill_keyboard.h index 895350c..e03b569 100644 --- a/src/uniwill_keyboard.h +++ b/src/uniwill_keyboard.h @@ -210,7 +210,7 @@ static int keyboard_notifier_callb(struct notifier_block *nb, unsigned long code } static struct notifier_block keyboard_notifier_block = { - .notifier_call = keyboard_notifier_callb + .notifier_call = keyboard_notifier_callb }; static u8 uniwill_read_kbd_bl_enabled(void) @@ -736,7 +736,7 @@ static int uw_lightbar_init(struct platform_device *dev) || dmi_match(DMI_PRODUCT_NAME, "A60 MUV") #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0) || dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XI03") - || dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XA03") + || dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XA03") #endif ;