diff --git a/README.md b/README.md index 6f4beb0..9db36bc 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/src/clevo_leds.h b/src/clevo_leds.h index ebd29af..5714756 100644 --- a/src/clevo_leds.h +++ b/src/clevo_leds.h @@ -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); diff --git a/src/uniwill_leds.h b/src/uniwill_leds.h index 63639fa..af72863 100644 --- a/src/uniwill_leds.h +++ b/src/uniwill_leds.h @@ -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);