From: Greg Kroah-Hartman Date: Sun, 31 Aug 2014 23:21:33 +0000 (-0700) Subject: greybus: structures added X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~2164 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=be1e2e9cd12de6611939d37b468c2ef1939225b2;p=karo-tx-linux.git greybus: structures added --- diff --git a/drivers/staging/greybus/ap.c b/drivers/staging/greybus/ap.c index 5189e8e05ad2..39b83c5fb117 100644 --- a/drivers/staging/greybus/ap.c +++ b/drivers/staging/greybus/ap.c @@ -18,6 +18,21 @@ #include #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;