From 85a0442893444c044c0dde979c0372d7369ab45f Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 1 Dec 2014 20:42:20 -0800 Subject: [PATCH] greybus: operation: fix up sparse warning gb_connection_recv_request should be static, so mark it as such. Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/operation.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/greybus/operation.c b/drivers/staging/greybus/operation.c index aaac03733fd4..d973b57dc693 100644 --- a/drivers/staging/greybus/operation.c +++ b/drivers/staging/greybus/operation.c @@ -616,8 +616,9 @@ EXPORT_SYMBOL_GPL(greybus_data_sent); * This is called in interrupt context, so just copy the incoming * data into the request buffer and handle the rest via workqueue. */ -void gb_connection_recv_request(struct gb_connection *connection, - u16 operation_id, u8 type, void *data, size_t size) +static void gb_connection_recv_request(struct gb_connection *connection, + u16 operation_id, u8 type, void *data, + size_t size) { struct gb_operation *operation; -- 2.39.5