Lines 117-127
static int clevo_wmi_probe(struct wmi_device *wdev, const void *dummy_context)
Link Here
|
117 |
|
117 |
|
118 |
return 0; |
118 |
return 0; |
119 |
} |
119 |
} |
120 |
|
120 |
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0) |
121 |
static int clevo_wmi_remove(struct wmi_device *wdev) |
121 |
static int clevo_wmi_remove(struct wmi_device *wdev) |
|
|
122 |
#else |
123 |
static void clevo_wmi_remove(struct wmi_device *wdev) |
124 |
#endif |
122 |
{ |
125 |
{ |
123 |
pr_debug("clevo_wmi driver remove\n"); |
126 |
pr_debug("clevo_wmi driver remove\n"); |
|
|
127 |
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0) |
124 |
return 0; |
128 |
return 0; |
|
|
129 |
#endif |
125 |
} |
130 |
} |
126 |
|
131 |
|
127 |
static void clevo_wmi_notify(struct wmi_device *wdev, union acpi_object *dummy) |
132 |
static void clevo_wmi_notify(struct wmi_device *wdev, union acpi_object *dummy) |