staging: vc04_services: make local functions static
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 8 Jan 2017 18:15:12 +0000 (18:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jan 2017 16:41:30 +0000 (17:41 +0100)
The functions vchiq_dump_shared_state() and vchiq_is_connected() are only
used locally. So make them static.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_kern_lib.c

index 32b00f808079a1d0afb828fd907a07fdb98e4d81..6b9e13614b96786b6fb57e5055247ff154a70169 100644 (file)
@@ -3626,7 +3626,7 @@ vchiq_set_service_option(VCHIQ_SERVICE_HANDLE_T handle,
        return status;
 }
 
-void
+static void
 vchiq_dump_shared_state(void *dump_context, VCHIQ_STATE_T *state,
        VCHIQ_SHARED_STATE_T *shared, const char *label)
 {
index e93922a872636eb34e4d106ef5c67d0cbde054ce..d21b67c3af6fd6bb94eb9fd81e38959318874b35 100644 (file)
@@ -172,7 +172,7 @@ EXPORT_SYMBOL(vchiq_shutdown);
 *
 ***************************************************************************/
 
-int vchiq_is_connected(VCHIQ_INSTANCE_T instance)
+static int vchiq_is_connected(VCHIQ_INSTANCE_T instance)
 {
        return instance->connected;
 }