]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: svc: store protocol version
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 19 Jan 2016 11:51:19 +0000 (12:51 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 19 Jan 2016 20:17:13 +0000 (12:17 -0800)
commit357de006573f0dbbd5e214dd3f2fe808157ec530
tree0c9ae4a33f2b2161497b771e885163a4339ec194
parent47a2e6769e8194da5570eaed7fc43f5abec18809
greybus: svc: store protocol version

Store the "negotiated" protocol version to use in the svc state
struct instead of the connection struct.

The generic concept of a connection version is going away in favour of
bundle-class versions.

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/svc.c
drivers/staging/greybus/svc.h