diff options
author | Jiri Kosina <jkosina@suse.cz> | 2021-10-27 10:04:10 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-10-27 10:05:07 +0200 |
commit | 3c92cb4cb60c71b574e47108ead8b6f0470850db (patch) | |
tree | 24242757715fad3a6947c7f8eaf70b18728f5baf /include | |
parent | HID: playstation: expose DualSense player LEDs through LED class. (diff) | |
download | linux-3c92cb4cb60c71b574e47108ead8b6f0470850db.tar.xz linux-3c92cb4cb60c71b574e47108ead8b6f0470850db.zip |
HID: playstation: fix return from dualsense_player_led_set_brightness()
brightness_set_blocking() callback expects function returning int. This fixes
the follwoing build failure:
drivers/hid/hid-playstation.c: In function ‘dualsense_player_led_set_brightness’:
drivers/hid/hid-playstation.c:885:1: error: no return statement in function returning non-void [-Werror=return-type]
}
^
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions