diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2018-08-03 15:26:00 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-06-22 23:54:39 -0700 |
commit | 05ca38283afa5ad11de88395cf0b28c192766bc1 (patch) | |
tree | 8bcc5cc020f1bdba7cb932674b30ea26d541da8a /drivers/input/joystick/iforce/iforce.h | |
parent | Input: iforce - move command completion handling to serio code (diff) | |
download | linux-dev-05ca38283afa5ad11de88395cf0b28c192766bc1.tar.xz linux-dev-05ca38283afa5ad11de88395cf0b28c192766bc1.zip |
Input: iforce - introduce start and stop io transport ops
Add start_io() and stop_io() transport methods so that core
does not have to know the details.
Tested-by: Tim Schumacher <timschumi@gmx.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/input/joystick/iforce/iforce.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/joystick/iforce/iforce.h b/drivers/input/joystick/iforce/iforce.h index f6636230be31..c020d61eccf2 100644 --- a/drivers/input/joystick/iforce/iforce.h +++ b/drivers/input/joystick/iforce/iforce.h @@ -98,6 +98,8 @@ struct iforce; struct iforce_xport_ops { void (*xmit)(struct iforce *iforce); int (*get_id)(struct iforce *iforce, u8* id); + int (*start_io)(struct iforce *iforce); + void (*stop_io)(struct iforce *iforce); }; struct iforce { |