Commit 8bd0ae6e authored by Alex Elder's avatar Alex Elder Committed by Greg Kroah-Hartman

greybus: connection: make gb_connection_hd_find() private

Give gb_connection_hd_find() static scope; it's never used
outside "connection.c".
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 0dac67c8
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
static DEFINE_SPINLOCK(gb_connections_lock); static DEFINE_SPINLOCK(gb_connections_lock);
struct gb_connection *gb_connection_hd_find(struct greybus_host_device *hd, static struct gb_connection *
u16 cport_id) gb_connection_hd_find(struct greybus_host_device *hd, u16 cport_id)
{ {
struct gb_connection *connection = NULL; struct gb_connection *connection = NULL;
unsigned long flags; unsigned long flags;
......
...@@ -51,9 +51,6 @@ void gb_connection_destroy(struct gb_connection *connection); ...@@ -51,9 +51,6 @@ void gb_connection_destroy(struct gb_connection *connection);
int gb_connection_init(struct gb_connection *connection); int gb_connection_init(struct gb_connection *connection);
void gb_connection_exit(struct gb_connection *connection); void gb_connection_exit(struct gb_connection *connection);
struct gb_connection *gb_connection_hd_find(struct greybus_host_device *hd,
u16 cport_id);
void greybus_data_rcvd(struct greybus_host_device *hd, u16 cport_id, void greybus_data_rcvd(struct greybus_host_device *hd, u16 cport_id,
u8 *data, size_t length); u8 *data, size_t length);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment