greybus: greybus_protocols: remove control-protocol version
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 19 Jan 2016 11:51:13 +0000 (12:51 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 19 Jan 2016 20:17:13 +0000 (12:17 -0800)
commit6bd6e148930b6f6dff7a6d664b37ba76d6d2c75e
treea9f9837545e95e3639e72bc99b70c82b8e598d66
parentbc3be1705c17e05c4d423a67a49a9f316d235bf4
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: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/control.c
drivers/staging/greybus/greybus_protocols.h