diff options
author | Andres Salomon <dilinger@queued.net> | 2008-11-06 16:49:38 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-10 17:14:42 +0100 |
commit | d6276b78028dfab944dd4a58124aefcc9aa580da (patch) | |
tree | bb0f5cc1937dfe3e9973c9961d6bd732406773a5 /sound/pci/cs5535audio/cs5535audio.h | |
parent | 1e2232bc70b32f90109d678d1faccf6f50ebba80 (diff) | |
download | op-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.h | 2 |
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); |