summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/svc.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-11-25 15:59:18 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-11-25 15:34:19 -0800
commit5ef323846ff7d1c32e4fb2441dfc79b10d6092b3 (patch)
tree1a9287746669e0b8f78bace354c615a68006c1d2 /drivers/staging/greybus/svc.h
parent87757e325ab8b5b9e0e90e37de77778a631e6c8c (diff)
greybus: hd: fix svc-connection handling
Create the svc connection when registering the host-device and remove the current svc connection hacks that "upgraded" the svc connection once the endo id and ap interface id was known. Note that the old implementation was partly based on a misunderstanding as it was the remote interface id, rather than the local AP interface id, that used to define a connection (but we also needed the endo_id). The remote interface is no longer needed as static connections, such as the svc connection, are now simply defined by the host-device and host cport id. Signed-off-by: Johan Hovold <johan@hovoldconsulting.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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/greybus/svc.h b/drivers/staging/greybus/svc.h
index e05785f499f4..99be0411d000 100644
--- a/drivers/staging/greybus/svc.h
+++ b/drivers/staging/greybus/svc.h
@@ -41,6 +41,4 @@ int gb_svc_dme_peer_set(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
int gb_svc_protocol_init(void);
void gb_svc_protocol_exit(void);
-struct gb_connection *gb_ap_svc_connection_create(struct gb_host_device *hd);
-
#endif /* __SVC_H */