diff options
author | Alex Elder | 2014-10-02 04:54:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-10-03 06:18:41 +0200 |
commit | c68adb2f2c999886f8e18e98ad4e69aec14c9f32 (patch) | |
tree | fca422bc25269ef9251fce7eab6ddd8080b13b5b /drivers/staging/greybus/greybus.h | |
parent | greybus: define greybus function abstraction (diff) | |
download | kernel-qcow2-linux-c68adb2f2c999886f8e18e98ad4e69aec14c9f32.tar.gz kernel-qcow2-linux-c68adb2f2c999886f8e18e98ad4e69aec14c9f32.tar.xz kernel-qcow2-linux-c68adb2f2c999886f8e18e98ad4e69aec14c9f32.zip |
greybus: introduce a connection abstraction
Within a UniPro network a pair of CPorts can be linked to form a
UniPro Connection. This patch creates a new abstraction to
represent an AP CPort that is connected with a CPort used by a
function within a Greybus module.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/greybus.h')
-rw-r--r-- | drivers/staging/greybus/greybus.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/greybus/greybus.h b/drivers/staging/greybus/greybus.h index 4eb70af9e006..732cc5e51dc4 100644 --- a/drivers/staging/greybus/greybus.h +++ b/drivers/staging/greybus/greybus.h @@ -23,6 +23,7 @@ #include "module.h" #include "interface.h" #include "function.h" +#include "connection.h" /* Matches up with the Greybus Protocol specification document */ @@ -180,6 +181,7 @@ struct greybus_host_device { const struct greybus_host_driver *driver; struct list_head modules; + struct list_head connections; /* Private data for the host driver */ unsigned long hd_priv[0] __attribute__ ((aligned(sizeof(s64)))); |