diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-04-01 20:32:02 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-04-06 12:05:58 +0200 |
commit | a93db2d1f6939bf260dbdf0d32a20eda3ad2e620 (patch) | |
tree | 640f46ca7bbd4830d7e73361aec662a3bdae0586 /drivers/staging/greybus/manifest.h | |
parent | bb97ea813b1c31a0fc78af3d06a8dbd793ea372b (diff) | |
download | op-kernel-dev-a93db2d1f6939bf260dbdf0d32a20eda3ad2e620.zip op-kernel-dev-a93db2d1f6939bf260dbdf0d32a20eda3ad2e620.tar.gz |
greybus: manifest: Use interface descriptor instead of module descriptor to get information
A module can have more than one interfaces and we get hotplug events or
manifests for interfaces, not modules. Details like version, vendor,
product id, etc. can be different for different interfaces within the
same module and so shall be fetched from interface descriptor instead of
module descriptor.
So what we have been doing for module descriptors until now must be done
for interface descriptors. There can only be one interface descriptor in
the manifest. Module descriptor isn't used anymore and probably most of
its fields can be removed now.
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.h')
-rw-r--r-- | drivers/staging/greybus/manifest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/manifest.h b/drivers/staging/greybus/manifest.h index 90fb62d..d964284 100644 --- a/drivers/staging/greybus/manifest.h +++ b/drivers/staging/greybus/manifest.h @@ -1,5 +1,5 @@ /* - * Greybus module manifest parsing + * Greybus manifest parsing * * Copyright 2014 Google Inc. * Copyright 2014 Linaro Ltd. |