summaryrefslogtreecommitdiffstats
path: root/sound/pci/cs5535audio/cs5535audio.h
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2008-11-06 16:49:38 -0500
committerTakashi Iwai <tiwai@suse.de>2008-12-10 17:14:42 +0100
commitd6276b78028dfab944dd4a58124aefcc9aa580da (patch)
treebb0f5cc1937dfe3e9973c9961d6bd732406773a5 /sound/pci/cs5535audio/cs5535audio.h
parent1e2232bc70b32f90109d678d1faccf6f50ebba80 (diff)
downloadop-kernel-dev-d6276b78028dfab944dd4a58124aefcc9aa580da.zip
op-kernel-dev-d6276b78028dfab944dd4a58124aefcc9aa580da.tar.gz
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 31ecb33..22737fc 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);
OpenPOWER on IntegriCloud