aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-11-07 09:44:11 -0500
committerTakashi Iwai <tiwai@suse.de>2013-11-07 09:44:11 -0500
commit512a4cb9e7285e6ef8104da808dc85806321aec8 (patch)
tree24925439bcb5c354497603b65f77704f06b441c2 /sound
parent464837a7bc0a3495e3490e3bf85099bb2300efbd (diff)
ALSA: ice1724: Fix compile warning with CONFIG_PROC_FS=n
Just added a missing ifdef: sound/pci/ice1712/quartet.c:210:14: warning: 'get_binary' defined but not used [-Wunused-function] Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/ice1712/quartet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/ice1712/quartet.c b/sound/pci/ice1712/quartet.c
index 975e0357bd5a..71c6003ef338 100644
--- a/sound/pci/ice1712/quartet.c
+++ b/sound/pci/ice1712/quartet.c
@@ -203,6 +203,7 @@ static const char * const ext_clock_names[3] = {"IEC958 In", "Word Clock 1xFS",
203#define AK4620_DEEMVOL_REG 0x03 203#define AK4620_DEEMVOL_REG 0x03
204#define AK4620_SMUTE (1<<7) 204#define AK4620_SMUTE (1<<7)
205 205
206#ifdef CONFIG_PROC_FS
206/* 207/*
207 * Conversion from int value to its binary form. Used for debugging. 208 * Conversion from int value to its binary form. Used for debugging.
208 * The output buffer must be allocated prior to calling the function. 209 * The output buffer must be allocated prior to calling the function.
@@ -227,6 +228,7 @@ static char *get_binary(char *buffer, int value)
227 buffer[pos] = '\0'; 228 buffer[pos] = '\0';
228 return buffer; 229 return buffer;
229} 230}
231#endif /* CONFIG_PROC_FS */
230 232
231/* 233/*
232 * Initial setup of the conversion array GPIO <-> rate 234 * Initial setup of the conversion array GPIO <-> rate