diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-05 10:10:27 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-11-05 10:15:35 -0800 |
commit | e60e063c14b13d0f66ffc708b8aa5d1a8208606e (patch) | |
tree | 35a116ed2c60433a4960f0d74ebd5e9bc25941c7 /drivers/input/touchscreen/tsc2005.c | |
parent | 9154301a47b33bdc273d8254c407792524367558 (diff) | |
download | talos-op-linux-e60e063c14b13d0f66ffc708b8aa5d1a8208606e.tar.gz talos-op-linux-e60e063c14b13d0f66ffc708b8aa5d1a8208606e.zip |
HID: hid-gfrm: avoid warning for input_configured API change
The input_configured callback was recently changed to return
an 'int', but the newly added driver uses the old API:
drivers/hid/hid-gfrm.c:151:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
This changes the driver like the other ones.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 34fc1322e7aa ("HID: hid-gfrm: Google Fiber TV Box remote controls")
Fixes: b2c68a2f1bab ("HID: hid-input: allow input_configured callback return errors")
Acked-by: Petri Gynther <pgynther@google.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/tsc2005.c')
0 files changed, 0 insertions, 0 deletions