Commit 85a04428 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

greybus: operation: fix up sparse warning



gb_connection_recv_request should be static, so mark it as such.

Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent e5fbc073
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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;