aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/cs5535audio/cs5535audio.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/cs5535audio/cs5535audio.h')
-rw-r--r--sound/pci/cs5535audio/cs5535audio.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/sound/pci/cs5535audio/cs5535audio.h b/sound/pci/cs5535audio/cs5535audio.h
index adcb213eb276..93602cf2858a 100644
--- a/sound/pci/cs5535audio/cs5535audio.h
+++ b/sound/pci/cs5535audio/cs5535audio.h
@@ -103,9 +103,16 @@ int snd_cs5535audio_resume(struct pci_dev *pci);
103#endif 103#endif
104 104
105#ifdef CONFIG_OLPC 105#ifdef CONFIG_OLPC
106int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97); 106void __devinit olpc_prequirks(struct snd_card *card,
107 struct snd_ac97_template *ac97);
108int __devinit olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97);
107#else 109#else
108#define olpc_quirks(arg, arg2) (0) 110static inline void olpc_prequirks(struct snd_card *card,
111 struct snd_ac97_template *ac97) { }
112static inline int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97)
113{
114 return 0;
115}
109#endif 116#endif
110 117
111int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio); 118int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio);