summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/manifest.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-04-01 20:31:59 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-04-05 18:12:04 +0200
commit83a0cb593b5517a13f88c8f9ae9ce7e43af4b54b (patch)
treea890db2eb5eb736b62ca68ce4ff903519b72be62 /drivers/staging/greybus/manifest.c
parentc9d9d0d443afab6c4c1ce295c283f0caab56db16 (diff)
downloadop-kernel-dev-83a0cb593b5517a13f88c8f9ae9ce7e43af4b54b.zip
op-kernel-dev-83a0cb593b5517a13f88c8f9ae9ce7e43af4b54b.tar.gz
greybus: Add bundle descriptor type
A bundle corresponds to a device and a greybus driver binds to it. This patch adds a type and descriptor for bundle. This also shuffles the values of 'enum greybus_descriptor_type' to align them with Greybus Specifications. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/manifest.c')
-rw-r--r--drivers/staging/greybus/manifest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/greybus/manifest.c b/drivers/staging/greybus/manifest.c
index c29a0c8..c00e378 100644
--- a/drivers/staging/greybus/manifest.c
+++ b/drivers/staging/greybus/manifest.c
@@ -26,6 +26,8 @@ static const char *get_descriptor_type_string(u8 type)
return "interface";
case GREYBUS_TYPE_CPORT:
return "cport";
+ case GREYBUS_TYPE_BUNDLE:
+ return "bundle";
case GREYBUS_TYPE_CLASS:
return "class";
default:
OpenPOWER on IntegriCloud