Commit 512a4cb9 authored by Takashi Iwai's avatar Takashi Iwai

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 464837a7
...@@ -203,6 +203,7 @@ static const char * const ext_clock_names[3] = {"IEC958 In", "Word Clock 1xFS", ...@@ -203,6 +203,7 @@ static const char * const ext_clock_names[3] = {"IEC958 In", "Word Clock 1xFS",
#define AK4620_DEEMVOL_REG 0x03 #define AK4620_DEEMVOL_REG 0x03
#define AK4620_SMUTE (1<<7) #define AK4620_SMUTE (1<<7)
#ifdef CONFIG_PROC_FS
/* /*
* Conversion from int value to its binary form. Used for debugging. * Conversion from int value to its binary form. Used for debugging.
* The output buffer must be allocated prior to calling the function. * The output buffer must be allocated prior to calling the function.
...@@ -227,6 +228,7 @@ static char *get_binary(char *buffer, int value) ...@@ -227,6 +228,7 @@ static char *get_binary(char *buffer, int value)
buffer[pos] = '\0'; buffer[pos] = '\0';
return buffer; return buffer;
} }
#endif /* CONFIG_PROC_FS */
/* /*
* Initial setup of the conversion array GPIO <-> rate * Initial setup of the conversion array GPIO <-> rate
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment