From: Matt Porter Date: Sat, 27 Sep 2014 01:49:52 +0000 (-0500) Subject: greybus: update descriptor type enums to match renumbering in spec X-Git-Tag: v5.15~12752^2~378^2~21^2~2081 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c41a36677365e6c5ad9e01ef50776052dfb6c0c5;p=platform%2Fkernel%2Flinux-starfive.git 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: Matt Porter Reviewed-by: Alex Elder Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/greybus_manifest.h b/drivers/staging/greybus/greybus_manifest.h index 8ffeb17..f1f3237 100644 --- a/drivers/staging/greybus/greybus_manifest.h +++ b/drivers/staging/greybus/greybus_manifest.h @@ -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, };