aboutsummaryrefslogtreecommitdiffstats
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 11:14:42 -0500
commitd6276b78028dfab944dd4a58124aefcc9aa580da (patch)
treebb0f5cc1937dfe3e9973c9961d6bd732406773a5 /sound/pci/cs5535audio/cs5535audio.h
parent1e2232bc70b32f90109d678d1faccf6f50ebba80 (diff)
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);
103void __devinit olpc_prequirks(struct snd_card *card, 103void __devinit olpc_prequirks(struct snd_card *card,
104 struct snd_ac97_template *ac97); 104 struct snd_ac97_template *ac97);
105int __devinit olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97); 105int __devinit olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97);
106void olpc_analog_input(struct snd_ac97 *ac97, int on);
106#else 107#else
107static inline void olpc_prequirks(struct snd_card *card, 108static inline void olpc_prequirks(struct snd_card *card,
108 struct snd_ac97_template *ac97) { } 109 struct snd_ac97_template *ac97) { }
@@ -110,6 +111,7 @@ static inline int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97)
110{ 111{
111 return 0; 112 return 0;
112} 113}
114static inline void olpc_analog_input(struct snd_ac97 *ac97, int on) { }
113#endif 115#endif
114 116
115int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio); 117int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio);