]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: greybus_protocols: add missing version-request definition
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 15 Sep 2015 08:48:01 +0000 (10:48 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 15 Sep 2015 13:15:37 +0000 (06:15 -0700)
commitcfb16906860d76b5afe192d32fb79cf9af853b92
treeb1f28c60055435ac4dbf7c0cdb7b6d8ddbc3a4c5
parent59832931cbafa9211ec9ff8434b6d914f82f0f18
greybus: greybus_protocols: add missing version-request definition

Add the missing version-request definition that was falsely claimed to
be empty.

Update the generic version-request helper and SVC version-request
handler to use the request definition rather than rely on the response
happening to have the same layout, something which also improves
readability.

Remove a misplaced "Control Protocol" header while at it.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_protocols.h
drivers/staging/greybus/protocol.c
drivers/staging/greybus/svc.c