linux/sound/soc/sh
Baoyou Xie 1d9d0c65d9 ASoC: fix W=1 build warnings
We get 1 warning about global functions without a declaration
in the ASoC sub-system when building with W=1:

sound/soc/sh/rcar/core.c:113:6: warning: no previous prototype for 'rsnd_mod_make_sure' [-Wmissing-prototypes]
 void rsnd_mod_make_sure(struct rsnd_mod *mod, enum rsnd_mod_type type)

In this case, the function 'rsnd_mod_make_sure' is declared in rsnd.h file,
but it only valid if the macro DEBUG is claimed.

so the implementation of function 'rsnd_mod_make_sure' need be
held by macro DEBUG.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-08-11 15:02:49 +01:00
..
rcar ASoC: fix W=1 build warnings 2016-08-11 15:02:49 +01:00
dma-sh7760.c ASoC: sh: dma-sh7760: Convert to devm_snd_soc_register_platform 2015-08-30 12:15:10 +01:00
fsi.c ASoC: sh: fix fsi build warnings for 64 bit 2015-11-21 13:27:03 +00:00
hac.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
Kconfig ASoC: rsrc-card: use asoc_simple_card_parse_daifmt() 2016-07-01 17:36:38 +02:00
Makefile ASoC: add Renesas R-Car core feature 2013-07-28 19:34:09 +01:00
migor.c ASoC: migor: use clkdev_create() 2015-05-06 11:58:59 +01:00
sh7760-ac97.c ASoC: sh: Add .owner to struct snd_soc_card 2011-12-23 11:32:07 +00:00
siu_dai.c ASoC: sh: siu_dai: Convert to use resource managed APIs 2015-09-14 18:39:05 +01:00
siu_pcm.c ASoC: sh: Remove unnecessary snd_pcm_lib_preallocate_free_for_all() 2015-01-05 21:30:05 +00:00
siu.h ASoC: Do not include soc-dai.h 2010-11-22 14:04:53 +00:00
ssi.c ASoC: sh: ssi: Convert to devm_snd_soc_register_component 2015-08-28 17:28:49 +01:00