summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/interface.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-07-03 17:00:30 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-07-08 11:44:25 -0700
commit6ceb8fdeaec665642de944ee47d11440e72a5e26 (patch)
tree61bb990a15125a95700b6575883d0a4e006fe746 /drivers/staging/greybus/interface.h
parentab69c4cea3b4ddf6bce4db810db37a3911b08e15 (diff)
greybus: svc: save pointer to struct gb_svc in struct gb_interface
Its another special protocol (just like control protocol) and is required to be accessed from other files, lets save a pointer to it in interface structure. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h
index 86eb8947a3d6..c2bcb92dacdb 100644
--- a/drivers/staging/greybus/interface.h
+++ b/drivers/staging/greybus/interface.h
@@ -14,6 +14,7 @@
struct gb_interface {
struct device dev;
struct gb_control *control;
+ struct gb_svc *svc;
struct list_head bundles;
struct list_head links; /* greybus_host_device->interfaces */