mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Merge branch 'clang_compat' of github.com:vincentdephily/tuxedo-keyboard into upcoming-release
This commit is contained in:
commit
0d548f7c2d
|
@ -24,7 +24,7 @@ Modules included in this package
|
||||||
|
|
||||||
## Dependencies:
|
## Dependencies:
|
||||||
- make
|
- make
|
||||||
- gcc
|
- gcc or clang
|
||||||
- linux-headers
|
- linux-headers
|
||||||
- dkms (Only when using this module with DKMS functionality)
|
- dkms (Only when using this module with DKMS functionality)
|
||||||
|
|
||||||
|
|
|
@ -376,7 +376,7 @@ int clevo_leds_remove(struct platform_device *dev) {
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(clevo_leds_remove);
|
EXPORT_SYMBOL(clevo_leds_remove);
|
||||||
|
|
||||||
enum clevo_kb_backlight_types clevo_leds_get_backlight_type() {
|
enum clevo_kb_backlight_types clevo_leds_get_backlight_type(void) {
|
||||||
return clevo_kb_backlight_type;
|
return clevo_kb_backlight_type;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(clevo_leds_get_backlight_type);
|
EXPORT_SYMBOL(clevo_leds_get_backlight_type);
|
||||||
|
|
|
@ -252,7 +252,7 @@ EXPORT_SYMBOL(uniwill_leds_init_late);
|
||||||
int uniwill_leds_remove(struct platform_device *dev)
|
int uniwill_leds_remove(struct platform_device *dev)
|
||||||
{
|
{
|
||||||
// FIXME Use mutexes
|
// FIXME Use mutexes
|
||||||
int ret;
|
int ret = 0;
|
||||||
|
|
||||||
if (uw_leds_initialized) {
|
if (uw_leds_initialized) {
|
||||||
uw_leds_initialized = false;
|
uw_leds_initialized = false;
|
||||||
|
@ -275,7 +275,7 @@ int uniwill_leds_remove(struct platform_device *dev)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(uniwill_leds_remove);
|
EXPORT_SYMBOL(uniwill_leds_remove);
|
||||||
|
|
||||||
enum uniwill_kb_backlight_types uniwill_leds_get_backlight_type() {
|
enum uniwill_kb_backlight_types uniwill_leds_get_backlight_type(void) {
|
||||||
return uniwill_kb_backlight_type;
|
return uniwill_kb_backlight_type;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(uniwill_leds_get_backlight_type);
|
EXPORT_SYMBOL(uniwill_leds_get_backlight_type);
|
||||||
|
|
Loading…
Reference in a new issue