summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/greybus/control.c5
-rw-r--r--drivers/staging/greybus/greybus_protocols.h4
2 files changed, 5 insertions, 4 deletions
diff --git a/drivers/staging/greybus/control.c b/drivers/staging/greybus/control.c
index 12a9eca..d79807c 100644
--- a/drivers/staging/greybus/control.c
+++ b/drivers/staging/greybus/control.c
@@ -12,6 +12,11 @@
#include <linux/slab.h>
#include "greybus.h"
+/* Highest control-protocol version supported */
+#define GB_CONTROL_VERSION_MAJOR 0
+#define GB_CONTROL_VERSION_MINOR 1
+
+
/* Get Manifest's size from the interface */
int gb_control_get_manifest_size_operation(struct gb_interface *intf)
{
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h
index 55e99b7..c563e74 100644
--- a/drivers/staging/greybus/greybus_protocols.h
+++ b/drivers/staging/greybus/greybus_protocols.h
@@ -115,10 +115,6 @@ struct gb_protocol_version_response {
/* Control Protocol */
-/* Version of the Greybus control protocol we support */
-#define GB_CONTROL_VERSION_MAJOR 0x00
-#define GB_CONTROL_VERSION_MINOR 0x01
-
/* Greybus control request types */
#define GB_CONTROL_TYPE_PROBE_AP 0x02
#define GB_CONTROL_TYPE_GET_MANIFEST_SIZE 0x03
OpenPOWER on IntegriCloud