diff options
author | José Expósito <jose.exposito89@gmail.com> | 2022-11-28 17:55:24 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-12-20 15:37:52 +0100 |
commit | 54f27dc53f1764986d417cfafe1013806deba668 (patch) | |
tree | 5e1ea581605691c724412ae17f0d39d70e07ee97 /drivers/hid/hid-cypress.c | |
parent | 3d57f36c89d8ba32b2c312f397a37fd1a2dc7cfc (diff) | |
download | linux-54f27dc53f1764986d417cfafe1013806deba668.tar.bz2 |
HID: sony: Fix unused function warning
Compiling this driver without setting "CONFIG_SONY_FF" generates the
following warning:
drivers/hid/hid-sony.c:2358:20: warning: unused function
'sony_send_output_report' [-Wunused-function]
static inline void sony_send_output_report(struct sony_sc *sc)
^
1 warning generated.
Add the missing preprocessor check to fix it.
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-cypress.c')
0 files changed, 0 insertions, 0 deletions