summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus.h
diff options
context:
space:
mode:
authorAlex Elder2014-10-02 04:54:14 +0200
committerGreg Kroah-Hartman2014-10-03 06:18:41 +0200
commitc68adb2f2c999886f8e18e98ad4e69aec14c9f32 (patch)
treefca422bc25269ef9251fce7eab6ddd8080b13b5b /drivers/staging/greybus/greybus.h
parentgreybus: define greybus function abstraction (diff)
downloadkernel-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.h2
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))));