summaryrefslogtreecommitdiffstats
path: root/sound/pci/cs5535audio/cs5535audio.h
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2008-11-06 22:49:38 +0100
committerTakashi Iwai <tiwai@suse.de>2008-12-10 17:14:42 +0100
commitd6276b78028dfab944dd4a58124aefcc9aa580da (patch)
treebb0f5cc1937dfe3e9973c9961d6bd732406773a5 /sound/pci/cs5535audio/cs5535audio.h
parentALSA: cs5535audio: decouple HPF from V_REFOUT in OLPC code (diff)
downloadlinux-d6276b78028dfab944dd4a58124aefcc9aa580da.tar.xz
linux-d6276b78028dfab944dd4a58124aefcc9aa580da.zip
ALSA: cs5535audio: create function for setting OLPC's Analog Input mode
Clean this stuff up a bit.. Signed-off-by: Andres Salomon <dilinger@debian.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs5535audio/cs5535audio.h')
-rw-r--r--sound/pci/cs5535audio/cs5535audio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/cs5535audio/cs5535audio.h b/sound/pci/cs5535audio/cs5535audio.h
index 31ecb33ffff9..22737fc9ed03 100644
--- a/sound/pci/cs5535audio/cs5535audio.h
+++ b/sound/pci/cs5535audio/cs5535audio.h
@@ -103,6 +103,7 @@ int snd_cs5535audio_resume(struct pci_dev *pci);
void __devinit olpc_prequirks(struct snd_card *card,
struct snd_ac97_template *ac97);
int __devinit olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97);
+void olpc_analog_input(struct snd_ac97 *ac97, int on);
#else
static inline void olpc_prequirks(struct snd_card *card,
struct snd_ac97_template *ac97) { }
@@ -110,6 +111,7 @@ static inline int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97)
{
return 0;
}
+static inline void olpc_analog_input(struct snd_ac97 *ac97, int on) { }
#endif
int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio);