Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d3352a3 authored by Simon Sandström's avatar Simon Sandström Committed by Greg Kroah-Hartman
Browse files

staging: bcm2835-audio: Make internal symbols static



Fixes sparse warnings:
warning: symbol 'xxx' was not declared. Should it be static?

Signed-off-by: default avatarSimon Sandström <simon@nikanor.nu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 626eea7d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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,7 +782,7 @@ int bcm2835_audio_close(struct bcm2835_alsa_stream *alsa_stream)
	return ret;
}

int bcm2835_audio_write_worker(struct bcm2835_alsa_stream *alsa_stream,
static int bcm2835_audio_write_worker(struct bcm2835_alsa_stream *alsa_stream,
				      unsigned int count, void *src)
{
	struct vc_audio_msg m;