From: Alex Elder Date: Wed, 5 Nov 2014 22:03:10 +0000 (-0600) Subject: greybus: make _gb_protocol_find() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0570afcf24930e4c4078a637d93c61fa448fbd10;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git greybus: make _gb_protocol_find() static This function should have private scope. Signed-off-by: Alex Elder Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/protocol.c b/drivers/staging/greybus/protocol.c index 52944ecea075..e0bcd4bc28a5 100644 --- a/drivers/staging/greybus/protocol.c +++ b/drivers/staging/greybus/protocol.c @@ -13,7 +13,7 @@ static DEFINE_SPINLOCK(gb_protocols_lock); static LIST_HEAD(gb_protocols); /* Caller must hold gb_protocols_lock */ -struct gb_protocol *_gb_protocol_find(u8 id) +static struct gb_protocol *_gb_protocol_find(u8 id) { struct gb_protocol *protocol;