From: Greg Kroah-Hartman Date: Sun, 31 Aug 2014 23:21:33 +0000 (-0700) Subject: greybus: structures added X-Git-Tag: v5.15~12752^2~378^2~21^2~2164 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be1e2e9cd12de6611939d37b468c2ef1939225b2;p=platform%2Fkernel%2Flinux-starfive.git 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 #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;