summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/audio_topology.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-07-16 09:44:28 -0700
committerGreg Kroah-Hartman <gregkh@google.com>2016-07-17 10:12:59 +0900
commita0de502ed39663d47b568de27f46971e41f0abdf (patch)
treee0eeee3643e223fd0d00537852956a1469704202 /drivers/staging/greybus/audio_topology.c
parent7a0d4eae83e7dbabd02c744ec3aa0ed542ed6181 (diff)
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>
Diffstat (limited to 'drivers/staging/greybus/audio_topology.c')
-rw-r--r--drivers/staging/greybus/audio_topology.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/audio_topology.c b/drivers/staging/greybus/audio_topology.c
index 487f74455a1c..17ba0a028426 100644
--- a/drivers/staging/greybus/audio_topology.c
+++ b/drivers/staging/greybus/audio_topology.c
@@ -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;