]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
greybus: operation: fix up sparse warning
authorGreg Kroah-Hartman <greg@kroah.com>
Tue, 2 Dec 2014 04:42:20 +0000 (20:42 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 2 Dec 2014 04:42:20 +0000 (20:42 -0800)
gb_connection_recv_request should be static, so mark it as such.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/operation.c

index aaac03733fd45b065f5b8f824b8ae0e985125d05..d973b57dc6931ac92e6d469e4d66d7fb53f9f9aa 100644 (file)
@@ -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;