Commit c41a3667 authored by Matt Porter's avatar Matt Porter Committed by Greg Kroah-Hartman

greybus: update descriptor type enums to match renumbering in spec

Greybus spec updated the descriptor type values and added an
additional class descriptor type. Change the enum accordingly.
Signed-off-by: default avatarMatt Porter <mporter@linaro.org>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent cbd0fd7b
...@@ -20,8 +20,9 @@ struct greybus_manifest_header { ...@@ -20,8 +20,9 @@ struct greybus_manifest_header {
enum greybus_descriptor_type { enum greybus_descriptor_type {
GREYBUS_TYPE_INVALID = 0x0000, GREYBUS_TYPE_INVALID = 0x0000,
GREYBUS_TYPE_FUNCTION = 0x0001, GREYBUS_TYPE_MODULE = 0x0001,
GREYBUS_TYPE_MODULE = 0x0002, GREYBUS_TYPE_FUNCTION = 0x0002,
GREYBUS_TYPE_CLASS = 0x0003,
GREYBUS_TYPE_STRING = 0x0004, GREYBUS_TYPE_STRING = 0x0004,
GREYBUS_TYPE_CPORT = 0x0005, GREYBUS_TYPE_CPORT = 0x0005,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment