diff options
author | Simon Sandström <simon@nikanor.nu> | 2017-02-10 13:33:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-10 15:06:45 +0100 |
commit | 9d3352a3fe82b927d66309ee7f1944dd40a42325 (patch) | |
tree | 0769357dbe8a2168414198cc970982423dd28a30 | |
parent | 626eea7df90e062e4fb89a427e7a47d600626989 (diff) |
staging: bcm2835-audio: Make internal symbols static
Fixes sparse warnings:
warning: symbol 'xxx' was not declared. Should it be static?
Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/bcm2835-audio/bcm2835-vchiq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/bcm2835-audio/bcm2835-vchiq.c b/drivers/staging/bcm2835-audio/bcm2835-vchiq.c index d1a187a1413f..c52ac2753898 100644 --- a/drivers/staging/bcm2835-audio/bcm2835-vchiq.c +++ b/drivers/staging/bcm2835-audio/bcm2835-vchiq.c @@ -195,13 +195,13 @@ int bcm2835_audio_write(struct bcm2835_alsa_stream *alsa_stream, return ret; } -void my_workqueue_init(struct bcm2835_alsa_stream *alsa_stream) +static void my_workqueue_init(struct bcm2835_alsa_stream *alsa_stream) { alsa_stream->my_wq = alloc_workqueue("my_queue", WQ_HIGHPRI, 1); return; } -void my_workqueue_quit(struct bcm2835_alsa_stream *alsa_stream) +static void my_workqueue_quit(struct bcm2835_alsa_stream *alsa_stream) { if (alsa_stream->my_wq) { flush_workqueue(alsa_stream->my_wq); @@ -782,8 +782,8 @@ unlock: return ret; } -int bcm2835_audio_write_worker(struct bcm2835_alsa_stream *alsa_stream, - unsigned int count, void *src) +static int bcm2835_audio_write_worker(struct bcm2835_alsa_stream *alsa_stream, + unsigned int count, void *src) { struct vc_audio_msg m; struct bcm2835_audio_instance *instance = alsa_stream->instance; |