Commit 6bd6e148 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

greybus: greybus_protocols: remove control-protocol version

Remove control-protocol version from the exported protocol definitions
as it is an implementation detail that makes no sense to export.

Currently gbsim uses the kernel's control-protocol version definitions
directly instead of reporting the version of the protocol it actually
implements.
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent bc3be170
......@@ -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)
{
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment