diff options
Diffstat (limited to 'sound/pci/cs5535audio/cs5535audio.h')
-rw-r--r-- | sound/pci/cs5535audio/cs5535audio.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/pci/cs5535audio/cs5535audio.h b/sound/pci/cs5535audio/cs5535audio.h index 1aa1e2bbdf74..adcb213eb276 100644 --- a/sound/pci/cs5535audio/cs5535audio.h +++ b/sound/pci/cs5535audio/cs5535audio.h | |||
@@ -92,6 +92,9 @@ struct cs5535audio { | |||
92 | struct snd_pcm_substream *playback_substream; | 92 | struct snd_pcm_substream *playback_substream; |
93 | struct snd_pcm_substream *capture_substream; | 93 | struct snd_pcm_substream *capture_substream; |
94 | struct cs5535audio_dma dmas[NUM_CS5535AUDIO_DMAS]; | 94 | struct cs5535audio_dma dmas[NUM_CS5535AUDIO_DMAS]; |
95 | #ifdef CONFIG_OLPC | ||
96 | int ec_analog_input_mode; | ||
97 | #endif | ||
95 | }; | 98 | }; |
96 | 99 | ||
97 | #ifdef CONFIG_PM | 100 | #ifdef CONFIG_PM |
@@ -99,6 +102,12 @@ int snd_cs5535audio_suspend(struct pci_dev *pci, pm_message_t state); | |||
99 | int snd_cs5535audio_resume(struct pci_dev *pci); | 102 | int snd_cs5535audio_resume(struct pci_dev *pci); |
100 | #endif | 103 | #endif |
101 | 104 | ||
105 | #ifdef CONFIG_OLPC | ||
106 | int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97); | ||
107 | #else | ||
108 | #define olpc_quirks(arg, arg2) (0) | ||
109 | #endif | ||
110 | |||
102 | int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio); | 111 | int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio); |
103 | 112 | ||
104 | #endif /* __SOUND_CS5535AUDIO_H */ | 113 | #endif /* __SOUND_CS5535AUDIO_H */ |