summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_manifest.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-04-01 20:32:03 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-04-06 12:07:30 +0200
commit8e2e22d7830616ac37a9045e9e749e35cbc10ffe (patch)
tree15168fa715d7e4f581d4e045b31d92176cca62f2 /drivers/staging/greybus/greybus_manifest.h
parenta93db2d1f6939bf260dbdf0d32a20eda3ad2e620 (diff)
downloadlinux-8e2e22d7830616ac37a9045e9e749e35cbc10ffe.tar.bz2
greybus: drop module descriptors
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus_manifest.h')
-rw-r--r--drivers/staging/greybus/greybus_manifest.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/staging/greybus/greybus_manifest.h b/drivers/staging/greybus/greybus_manifest.h
index 143e28451e7b..a3386836d6d7 100644
--- a/drivers/staging/greybus/greybus_manifest.h
+++ b/drivers/staging/greybus/greybus_manifest.h
@@ -22,7 +22,6 @@ enum greybus_descriptor_type {
GREYBUS_TYPE_BUNDLE = 0x03,
GREYBUS_TYPE_CPORT = 0x04,
GREYBUS_TYPE_CLASS = 0x05,
- GREYBUS_TYPE_MODULE = 0x06,
};
enum greybus_protocol {
@@ -70,19 +69,6 @@ enum greybus_class_type {
};
/*
- * A module descriptor describes information about a module as a
- * whole, *not* the functions within it.
- */
-struct greybus_descriptor_module {
- __le16 vendor;
- __le16 product;
- __le16 version; // TODO - remove after Dec demo.
- __u8 vendor_stringid;
- __u8 product_stringid;
- __le64 unique_id;
-};
-
-/*
* The string in a string descriptor is not NUL-terminated. The
* size of the descriptor will be rounded up to a multiple of 4
* bytes, by padding the string with 0x00 bytes if necessary.
@@ -158,7 +144,6 @@ struct greybus_descriptor_header {
struct greybus_descriptor {
struct greybus_descriptor_header header;
union {
- struct greybus_descriptor_module module;
struct greybus_descriptor_string string;
struct greybus_descriptor_interface interface;
struct greybus_descriptor_bundle bundle;