greybus: update descriptor type enums to match renumbering in spec
authorMatt Porter <mporter@linaro.org>
Sat, 27 Sep 2014 01:49:52 +0000 (20:49 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 30 Sep 2014 00:58:08 +0000 (17:58 -0700)
Greybus spec updated the descriptor type values and added an
additional class descriptor type. Change the enum accordingly.

Signed-off-by: Matt Porter <mporter@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/greybus_manifest.h

index 8ffeb17..f1f3237 100644 (file)
@@ -20,8 +20,9 @@ struct greybus_manifest_header {
 
 enum greybus_descriptor_type {
        GREYBUS_TYPE_INVALID            = 0x0000,
-       GREYBUS_TYPE_FUNCTION           = 0x0001,
-       GREYBUS_TYPE_MODULE             = 0x0002,
+       GREYBUS_TYPE_MODULE             = 0x0001,
+       GREYBUS_TYPE_FUNCTION           = 0x0002,
+       GREYBUS_TYPE_CLASS              = 0x0003,
        GREYBUS_TYPE_STRING             = 0x0004,
        GREYBUS_TYPE_CPORT              = 0x0005,
 };