summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_protocols.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-04-29 17:08:34 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-04-29 14:27:05 -0700
commit1c3aead12ea4df73b7ae552aa4f4e83bc1f0baa6 (patch)
treee825ab4fc87413154d501d4e86ec8d5204aac85d /drivers/staging/greybus/greybus_protocols.h
parent5fdc027d5441aecb94ce44de0402bdec3a731de8 (diff)
greybus: control: implement mode-switch operation
Implement the unidirectional mode-switch operation. This operation will be used in the implementation of the new generic mode-switch functionality. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus_protocols.h')
-rw-r--r--drivers/staging/greybus/greybus_protocols.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h
index 713b56989735..c074402633c6 100644
--- a/drivers/staging/greybus/greybus_protocols.h
+++ b/drivers/staging/greybus/greybus_protocols.h
@@ -123,6 +123,7 @@ struct gb_protocol_version_response {
#define GB_CONTROL_TYPE_TIMESYNC_AUTHORITATIVE 0x09
#define GB_CONTROL_TYPE_INTERFACE_VERSION 0x0a
#define GB_CONTROL_TYPE_BUNDLE_VERSION 0x0b
+#define GB_CONTROL_TYPE_MODE_SWITCH 0x0e
struct gb_control_version_request {
__u8 major;