summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/connection.c
diff options
context:
space:
mode:
authorAlex Elder2015-06-08 19:05:11 +0200
committerGreg Kroah-Hartman2015-06-09 00:19:56 +0200
commit8bd0ae6e7295a06f8e64dcca1a91bb14ca6c07b0 (patch)
treefa102fd5e73dc185a3a2da1e8da7c322e4ee6499 /drivers/staging/greybus/connection.c
parentgreybus: svc: driver is basic to Greybus (not GP Bridge) (diff)
downloadkernel-qcow2-linux-8bd0ae6e7295a06f8e64dcca1a91bb14ca6c07b0.tar.gz
kernel-qcow2-linux-8bd0ae6e7295a06f8e64dcca1a91bb14ca6c07b0.tar.xz
kernel-qcow2-linux-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.c4
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;