summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/protocol.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-03-16 16:49:37 +0530
committerGreg Kroah-Hartman <greg@kroah.com>2015-03-16 20:29:44 +0100
commit96eab779e1985fd0b39426d288d3af38e3bce50c (patch)
treefa541aeedff0f1ba03489f33e59dfb1cbd16aa14 /drivers/staging/greybus/protocol.h
parentb908dec468c95d51922cb72a076fde813622ee54 (diff)
greybus: hid: add HID class driver
This adds HID transport layer driver for Greybus. Most of the stuff is implemented, but is untested. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/protocol.h')
-rw-r--r--drivers/staging/greybus/protocol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/greybus/protocol.h b/drivers/staging/greybus/protocol.h
index 2d0100008138..a74afef92a01 100644
--- a/drivers/staging/greybus/protocol.h
+++ b/drivers/staging/greybus/protocol.h
@@ -84,6 +84,9 @@ extern void gb_i2c_protocol_exit(void);
extern int gb_spi_protocol_init(void);
extern void gb_spi_protocol_exit(void);
+extern int gb_hid_protocol_init(void);
+extern void gb_hid_protocol_exit(void);
+
#define gb_protocol_driver(__protocol) \
static int __init protocol_init(void) \
{ \