From b05890db5e75aa0627f3f5d2241cc90fc399a697 Mon Sep 17 00:00:00 2001 From: Alex Elder Date: Thu, 2 Oct 2014 12:30:01 -0500 Subject: [PATCH] greybus: fix connection header declarations Changes to the create/destroy connection functions were not properly reflected in the header file. Fix that. There's also no need to include anything other than "greybus.h". Signed-off-by: Alex Elder Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/connection.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/greybus/connection.h b/drivers/staging/greybus/connection.h index c653c95d2834..6094fb44b990 100644 --- a/drivers/staging/greybus/connection.h +++ b/drivers/staging/greybus/connection.h @@ -12,7 +12,6 @@ #include #include "greybus.h" -#include "function.h" struct gb_connection { struct gb_function *function; @@ -25,9 +24,9 @@ struct gb_connection { atomic_t op_cycle; }; -bool gb_connection_setup(struct greybus_host_device *hd, u16 cport_id, - struct gb_function *function); -void gb_connection_teardown(struct gb_connection *connection); +struct gb_connection *gb_connection_create(struct greybus_host_device *hd, + u16 cport_id, struct gb_function *function); +void gb_connection_destroy(struct gb_connection *connection); u16 gb_connection_op_id(struct gb_connection *connection); -- 2.20.1