greybus: audio: fix some sparse static warnings
This makes some functions and structures static, as warned by sparse, as
they don't need to be global.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Alex Elder <elder@linaro.org>
diff --git a/drivers/staging/greybus/audio-dai.c b/drivers/staging/greybus/audio-dai.c
index f2c8ca0..39b72f0 100644
--- a/drivers/staging/greybus/audio-dai.c
+++ b/drivers/staging/greybus/audio-dai.c
@@ -59,7 +59,7 @@
.set_fmt = gb_dai_set_fmt,
};
-struct snd_soc_dai_driver gb_cpu_dai = {
+static struct snd_soc_dai_driver gb_cpu_dai = {
.name = "gb-cpu-dai",
.playback = {
.rates = GB_RATES,