projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: core: Fix compile warning with CONFIG_DEBUG_FS=n
[linux-2.6-block.git]
/
sound
/
soc
/
soc-pcm.c
diff --git
a/sound/soc/soc-pcm.c
b/sound/soc/soc-pcm.c
index 493a2e80e8936ffa0d073543e7e9dd79993ddbf6..4bf71e3211d807d4bc2f9415b151c1f5b4662bcc 100644
(file)
--- a/
sound/soc/soc-pcm.c
+++ b/
sound/soc/soc-pcm.c
@@
-1182,7
+1182,9
@@
static int dpcm_be_connect(struct snd_soc_pcm_runtime *fe,
{
struct snd_soc_dpcm *dpcm;
unsigned long flags;
+#ifdef CONFIG_DEBUG_FS
char *name;
+#endif
/* only add new dpcms */
for_each_dpcm_be(fe, stream, dpcm) {