Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b11a45d authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman
Browse files

greybus: define greybus wide protocol request numbers



Some request numbers (like invalid and get_version) are same across all
protocols. Create common macros for them.

Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 18690659
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -99,6 +99,10 @@ struct gb_operation_msg_hdr {
};
};




/* Generic request numbers supported by all modules */
#define GB_REQUEST_TYPE_INVALID			0x00
#define GB_REQUEST_TYPE_PROTOCOL_VERSION	0x01

/* Control Protocol */
/* Control Protocol */


/* version request has no payload */
/* version request has no payload */