summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/svc.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-07-24 15:32:21 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-07-24 16:33:20 -0700
commitb45864d40ca6f453a708d1e74c2108424ac15bdb (patch)
treeb3f8717de4266c9e0bfb91f2ef13134f231e9a07 /drivers/staging/greybus/svc.h
parentdcd05008e491252280c178d9d5300a885b4f4548 (diff)
greybus: svc: remove interface->svc pointer
Its not updated/used anymore, remove it. Also move back the struct gb_svc to svc.c as its not referenced by external users anymore. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Tested-by: Perry Hung <perry@leaflabs.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/svc.h')
-rw-r--r--drivers/staging/greybus/svc.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/staging/greybus/svc.h b/drivers/staging/greybus/svc.h
index 66497808ee62..ee39479cf9b2 100644
--- a/drivers/staging/greybus/svc.h
+++ b/drivers/staging/greybus/svc.h
@@ -10,12 +10,7 @@
#ifndef __SVC_H
#define __SVC_H
-struct gb_svc {
- struct gb_connection *connection;
- u8 version_major;
- u8 version_minor;
-};
-
+struct gb_svc;
int gb_svc_intf_device_id(struct gb_svc *svc, u8 intf_id, u8 device_id);
int gb_svc_intf_reset(struct gb_svc *svc, u8 intf_id);