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/interface.h | |
parent | bb97ea813b1c31a0fc78af3d06a8dbd793ea372b (diff) |
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/interface.h')
-rw-r--r-- | drivers/staging/greybus/interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h index 45ce99609656..147c31119bec 100644 --- a/drivers/staging/greybus/interface.h +++ b/drivers/staging/greybus/interface.h @@ -19,7 +19,7 @@ struct gb_interface { struct list_head manifest_descs; u8 interface_id; /* Physical location within the Endo */ - /* Information taken from the manifest module descriptor */ + /* Information taken from the manifest descriptor */ u16 vendor; u16 product; char *vendor_string; |