diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-04-01 20:31:59 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-04-05 18:12:04 +0200 |
commit | 83a0cb593b5517a13f88c8f9ae9ce7e43af4b54b (patch) | |
tree | a890db2eb5eb736b62ca68ce4ff903519b72be62 /drivers/staging/greybus/manifest.c | |
parent | greybus: interface: Fetch interface id instead of module id during setup (diff) | |
download | linux-dev-83a0cb593b5517a13f88c8f9ae9ce7e43af4b54b.tar.xz linux-dev-83a0cb593b5517a13f88c8f9ae9ce7e43af4b54b.zip |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/greybus/manifest.c b/drivers/staging/greybus/manifest.c index c29a0c822f23..c00e378453df 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: |