Fix function prototypes

Clang is stricter than gcc and refuses to build without this fix.
This commit is contained in:
Vincent de Phily 2023-04-15 21:13:48 +01:00
parent 2f4364968a
commit d2ed92cb07
2 changed files with 2 additions and 2 deletions

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

@ -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);