summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/hd.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-12-07 15:05:37 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-12-08 15:31:14 -0500
commit7adeaae7132e06cd760b86576b8aefd2f0feb4d1 (patch)
tree8bf02f9966a47add25d150221522cc28ea9744cf /drivers/staging/greybus/hd.h
parent2c848944c14cf9c74c298b2459cc39dc3c757f25 (diff)
greybus: svc: create svc along with host device
Create svc device along with host-device and move the svc-connection to the svc structure. The svc connection is enabled when registering the host device, but as the SVC protocol is currently driven by the SVC, we need to defer registration of the svc device to the connection request handler. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/hd.h')
-rw-r--r--drivers/staging/greybus/hd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/greybus/hd.h b/drivers/staging/greybus/hd.h
index 5612b489dd24..d828129475cd 100644
--- a/drivers/staging/greybus/hd.h
+++ b/drivers/staging/greybus/hd.h
@@ -41,8 +41,6 @@ struct gb_host_device {
size_t buffer_size_max;
struct gb_svc *svc;
- struct gb_connection *svc_connection;
-
/* Private data for the host driver */
unsigned long hd_priv[0] __aligned(sizeof(s64));
};