summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/connection.h
diff options
context:
space:
mode:
authorJohan Hovold2016-01-21 17:34:13 +0100
committerGreg Kroah-Hartman2016-01-22 07:45:09 +0100
commite4c16f8b034047096187a9a9b49035ff5dbc8478 (patch)
tree7706d8ba63792b4e5745ca15071321227b353a69 /drivers/staging/greybus/connection.h
parentgreybus: connection: add helper to create control connections (diff)
downloadkernel-qcow2-linux-e4c16f8b034047096187a9a9b49035ff5dbc8478.tar.gz
kernel-qcow2-linux-e4c16f8b034047096187a9a9b49035ff5dbc8478.tar.xz
kernel-qcow2-linux-e4c16f8b034047096187a9a9b49035ff5dbc8478.zip
greybus: connection: drop the legacy protocol-id parameter
The protocol-id parameter is only used by the legacy driver so remove it from the generic interface and move it to the legacy driver until it can be removed completely. Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> 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, 1 insertions, 2 deletions
diff --git a/drivers/staging/greybus/connection.h b/drivers/staging/greybus/connection.h
index cd4a093f6e9b..442bd49b5052 100644
--- a/drivers/staging/greybus/connection.h
+++ b/drivers/staging/greybus/connection.h
@@ -59,8 +59,7 @@ struct gb_connection *gb_connection_create_static(struct gb_host_device *hd,
u16 hd_cport_id);
struct gb_connection *gb_connection_create_control(struct gb_interface *intf);
struct gb_connection *gb_connection_create_dynamic(struct gb_interface *intf,
- struct gb_bundle *bundle, u16 cport_id,
- u8 protocol_id);
+ struct gb_bundle *bundle, u16 cport_id);
void gb_connection_destroy(struct gb_connection *connection);
static inline bool gb_connection_is_static(struct gb_connection *connection)