commit | be1e2e9cd12de6611939d37b468c2ef1939225b2 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <greg@kroah.com> | Sun Aug 31 16:21:33 2014 -0700 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Sun Aug 31 16:21:33 2014 -0700 |
tree | 6f09a635a3d48a1db896d0ee97a0c9ceba33d7b4 | |
parent | de536e3094760880569e23166854c99b7c66135c [diff] |
greybus: structures added
diff --git a/drivers/staging/greybus/ap.c b/drivers/staging/greybus/ap.c index 5189e8e..39b83c5 100644 --- a/drivers/staging/greybus/ap.c +++ b/drivers/staging/greybus/ap.c
@@ -18,6 +18,21 @@ #include <linux/device.h> #include "greybus.h" +/* + * AP <-> SVC message structure format: + * + * + * + */ +struct svc_msg { + u8 function; + u8 type; + u8 version_major; + u8 version_minor; + u16 payload_length; +}; + + struct ap_msg { u8 *data; int size;