summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/bundle.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-01-19 12:51:21 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2016-01-19 12:17:13 -0800
commitb807aa7aa51129b1754e7d17f6a2e30e3c6f7a4b (patch)
tree7cef4e9e6ff0e64a5a9f223396eb272064e82d52 /drivers/staging/greybus/bundle.h
parent96a9b9b0eb2c5b9626bdad02c057fb22f133fc86 (diff)
greybus: control: add bundle-version operation
Add bundle-version operation to fetch the version of the bundle class. Retrieve the bundle version of all bundles when initialising the interface in case the control-protocol version is greater than 0.1. Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/bundle.h')
-rw-r--r--drivers/staging/greybus/bundle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/greybus/bundle.h b/drivers/staging/greybus/bundle.h
index 682ec327f8a3..837682d91e5b 100644
--- a/drivers/staging/greybus/bundle.h
+++ b/drivers/staging/greybus/bundle.h
@@ -16,8 +16,12 @@
struct gb_bundle {
struct device dev;
struct gb_interface *intf;
+
u8 id;
u8 class;
+ u8 class_major;
+ u8 class_minor;
+
struct list_head connections;
u8 *state;