mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Fix function prototypes
Clang is stricter than gcc and refuses to build without this fix.
This commit is contained in:
parent
2f4364968a
commit
d2ed92cb07
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue