mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-01 08:46:36 +09:00
greybus: audio_topology: Fix compile warning
Fix following compile warning by staticizing gb_generate_enum_strings(). greybus/audio_topology.c:134:12: warning: symbol 'gb_generate_enum_strings' was not declared. Should it be static? Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7a0d4eae83
commit
a0de502ed3
@@ -131,8 +131,8 @@ static const char *gbaudio_map_widgetid(struct gbaudio_module_info *module,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const char **gb_generate_enum_strings(struct gbaudio_module_info *gb,
|
||||
struct gb_audio_enumerated *gbenum)
|
||||
static const char **gb_generate_enum_strings(struct gbaudio_module_info *gb,
|
||||
struct gb_audio_enumerated *gbenum)
|
||||
{
|
||||
const char **strings;
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user