summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/interface.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2014-10-02 12:30:02 -0500
committerGreg Kroah-Hartman <greg@kroah.com>2014-10-02 21:22:04 -0700
commit63cc932b02bc5e697b5ba8f04a5d846b61f38879 (patch)
tree5386147c4a2a6f8d2f86d34f6bd6ab6db262d80e /drivers/staging/greybus/interface.h
parentb05890db5e75aa0627f3f5d2241cc90fc399a697 (diff)
greybus: October 1 updates
Update the definitions in "greybus_manifest.h" to reflect the changes to the Greybus specification made on October 1. They are: - renaming "device" to be "interface" - renumbering greybus descriptor type - eliminating the notion of a "function" - defining a CPort's protocol in the CPort descriptor - having a "class" take on the types previously used for "function" - renaming "serial number" to be "unique id" (for now) - relying on an interface's maximum cport id to determine how much device+cport address space the interface consumes - adding a simple class descriptor - renaming gb_interface->interface_id to be gb_interface->id This also reorders some things to match ordering in the document, and adds some commentary for the various structures. Since greybus_function_type is gone, we eliminate the "type" field from a function structure. (Functions are going away, next.) Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/interface.h')
-rw-r--r--drivers/staging/greybus/interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h
index 7c3feb7e98a8..7a4b3704b6a0 100644
--- a/drivers/staging/greybus/interface.h
+++ b/drivers/staging/greybus/interface.h
@@ -13,7 +13,7 @@
struct gb_interface {
struct gb_module *gmod;
- u8 interface_id;
+ u8 id;
struct list_head functions;
struct list_head links; /* module->interfaces */