greybus: move versioning from svc message header to handshake function
authorMatt Porter <mporter@linaro.org>
Thu, 18 Sep 2014 19:25:42 +0000 (15:25 -0400)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 19 Sep 2014 03:06:08 +0000 (20:06 -0700)
commite94e17143ea61f08488e55a8b8dfa025ab5fee44
treeaa93e3f7e3481d46abdd14679e2110102d7555bc
parent710ecb0605350391e14a2d470397afb798b1fbf7
greybus: move versioning from svc message header to handshake function

The Greybus spec has been updated to improve the efficiency of the
version major/minor information that had been previously carried in
every SVC message header. The version major/minor is now provided
as part of the handshake function.

Update the SVC msg header and handshake function payload definitions
and move the version major/minor validation into the SVC handshake
handling routine.

Signed-off-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/ap.c
drivers/staging/greybus/svc_msg.h