mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Fix clevo keyboard init order
This commit is contained in:
parent
4f763e9e74
commit
7ad2c50d1f
|
@ -120,12 +120,12 @@ static int clevo_acpi_add(struct acpi_device *device)
|
||||||
|
|
||||||
pr_debug("clevo_acpi driver add\n");
|
pr_debug("clevo_acpi driver add\n");
|
||||||
|
|
||||||
// Initiate clevo keyboard, if not already loaded by other interface driver
|
|
||||||
clevo_keyboard_init();
|
|
||||||
|
|
||||||
// Add this interface
|
// Add this interface
|
||||||
clevo_keyboard_add_interface(&clevo_acpi_interface);
|
clevo_keyboard_add_interface(&clevo_acpi_interface);
|
||||||
|
|
||||||
|
// Initiate clevo keyboard, if not already loaded by other interface driver
|
||||||
|
clevo_keyboard_init();
|
||||||
|
|
||||||
pr_info("interface initialized\n");
|
pr_info("interface initialized\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -107,12 +107,12 @@ static int clevo_wmi_probe(struct wmi_device *wdev, const void *dummy_context)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initiate clevo keyboard, if not already loaded by other interface driver
|
|
||||||
clevo_keyboard_init();
|
|
||||||
|
|
||||||
// Add this interface
|
// Add this interface
|
||||||
clevo_keyboard_add_interface(&clevo_wmi_interface);
|
clevo_keyboard_add_interface(&clevo_wmi_interface);
|
||||||
|
|
||||||
|
// Initiate clevo keyboard, if not already loaded by other interface driver
|
||||||
|
clevo_keyboard_init();
|
||||||
|
|
||||||
pr_info("interface initialized\n");
|
pr_info("interface initialized\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue