diff options
author | Alex Elder <elder@linaro.org> | 2015-06-08 12:05:11 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-06-08 15:19:56 -0700 |
commit | 8bd0ae6e7295a06f8e64dcca1a91bb14ca6c07b0 (patch) | |
tree | fa102fd5e73dc185a3a2da1e8da7c322e4ee6499 /drivers/staging/greybus/connection.c | |
parent | 0dac67c84c4d1e4d2ab510cbe7fafb9bac7002ea (diff) | |
download | linux-stable-8bd0ae6e7295a06f8e64dcca1a91bb14ca6c07b0.tar.gz linux-stable-8bd0ae6e7295a06f8e64dcca1a91bb14ca6c07b0.tar.bz2 linux-stable-8bd0ae6e7295a06f8e64dcca1a91bb14ca6c07b0.zip |
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: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/connection.c')
-rw-r--r-- | drivers/staging/greybus/connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/connection.c b/drivers/staging/greybus/connection.c index 6f0d3e98f800..a774f677279a 100644 --- a/drivers/staging/greybus/connection.c +++ b/drivers/staging/greybus/connection.c @@ -14,8 +14,8 @@ static DEFINE_SPINLOCK(gb_connections_lock); -struct gb_connection *gb_connection_hd_find(struct greybus_host_device *hd, - u16 cport_id) +static struct gb_connection * +gb_connection_hd_find(struct greybus_host_device *hd, u16 cport_id) { struct gb_connection *connection = NULL; unsigned long flags; |