greybus: audio-codec: Staticize few routines to fix build warnings
This fixes below warnings .. greybus/audio_codec.c:20:32: warning: symbol 'find_data' was not declared. Should it be static? greybus/audio_codec.c:955:6: warning: symbol 'gbaudio_codec_cleanup' was not declared. Should it be static? Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Родитель
de86e251f8
Коммит
36460e8a89
|
@ -17,8 +17,8 @@
|
||||||
|
|
||||||
static struct gbaudio_codec_info *gbcodec;
|
static struct gbaudio_codec_info *gbcodec;
|
||||||
|
|
||||||
struct gbaudio_data_connection *find_data(struct gbaudio_module_info *module,
|
static struct gbaudio_data_connection *
|
||||||
const char *name)
|
find_data(struct gbaudio_module_info *module, const char *name)
|
||||||
{
|
{
|
||||||
struct gbaudio_data_connection *data;
|
struct gbaudio_data_connection *data;
|
||||||
|
|
||||||
|
@ -952,7 +952,7 @@ int gbaudio_register_module(struct gbaudio_module_info *module)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(gbaudio_register_module);
|
EXPORT_SYMBOL(gbaudio_register_module);
|
||||||
|
|
||||||
void gbaudio_codec_cleanup(struct gbaudio_module_info *module)
|
static void gbaudio_codec_cleanup(struct gbaudio_module_info *module)
|
||||||
{
|
{
|
||||||
struct gbaudio_data_connection *data;
|
struct gbaudio_data_connection *data;
|
||||||
int pb_state = gbcodec->stream[0].state;
|
int pb_state = gbcodec->stream[0].state;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче