Merge branch 'clang_compat' of github.com:vincentdephily/tuxedo-keyboard into upcoming-release

This commit is contained in:
Christoffer Sandberg 2023-04-20 14:44:09 +00:00
commit 0d548f7c2d
No known key found for this signature in database
GPG key ID: BF563F71B6C7A96D
3 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ Modules included in this package
## Dependencies:
- make
- gcc
- gcc or clang
- linux-headers
- dkms (Only when using this module with DKMS functionality)

View file

@ -376,7 +376,7 @@ int clevo_leds_remove(struct platform_device *dev) {
}
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;
}
EXPORT_SYMBOL(clevo_leds_get_backlight_type);

View file

@ -252,7 +252,7 @@ EXPORT_SYMBOL(uniwill_leds_init_late);
int uniwill_leds_remove(struct platform_device *dev)
{
// FIXME Use mutexes
int ret;
int ret = 0;
if (uw_leds_initialized) {
uw_leds_initialized = false;
@ -275,7 +275,7 @@ int uniwill_leds_remove(struct platform_device *dev)
}
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;
}
EXPORT_SYMBOL(uniwill_leds_get_backlight_type);