summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/connection.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/connection.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/connection.h')
-rw-r--r--drivers/staging/greybus/connection.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/greybus/connection.h b/drivers/staging/greybus/connection.h
index 028f278b77e0..800626234b32 100644
--- a/drivers/staging/greybus/connection.h
+++ b/drivers/staging/greybus/connection.h
@@ -51,9 +51,6 @@ struct gb_connection {
void *private;
};
-int svc_update_connection(struct gb_interface *intf,
- struct gb_connection *connection);
-
struct gb_connection *gb_connection_create_static(struct gb_host_device *hd,
u16 hd_cport_id, u8 protocol_id);
struct gb_connection *gb_connection_create_dynamic(struct gb_interface *intf,