cs5535audio.h (57d4bf6d8e965404b82b105ae44ddf137bb7b8e6) | cs5535audio.h (3556d18465c6e67c7a8f436428b95671add02f57) |
---|---|
1#ifndef __SOUND_CS5535AUDIO_H 2#define __SOUND_CS5535AUDIO_H 3 4#define cs_writel(cs5535au, reg, val) outl(val, (cs5535au)->port + reg) 5#define cs_writeb(cs5535au, reg, val) outb(val, (cs5535au)->port + reg) 6#define cs_readl(cs5535au, reg) inl((cs5535au)->port + reg) 7#define cs_readw(cs5535au, reg) inw((cs5535au)->port + reg) 8#define cs_readb(cs5535au, reg) inb((cs5535au)->port + reg) --- 89 unchanged lines hidden (view full) --- 98}; 99 100#ifdef CONFIG_PM 101int snd_cs5535audio_suspend(struct pci_dev *pci, pm_message_t state); 102int snd_cs5535audio_resume(struct pci_dev *pci); 103#endif 104 105#ifdef CONFIG_OLPC | 1#ifndef __SOUND_CS5535AUDIO_H 2#define __SOUND_CS5535AUDIO_H 3 4#define cs_writel(cs5535au, reg, val) outl(val, (cs5535au)->port + reg) 5#define cs_writeb(cs5535au, reg, val) outb(val, (cs5535au)->port + reg) 6#define cs_readl(cs5535au, reg) inl((cs5535au)->port + reg) 7#define cs_readw(cs5535au, reg) inw((cs5535au)->port + reg) 8#define cs_readb(cs5535au, reg) inb((cs5535au)->port + reg) --- 89 unchanged lines hidden (view full) --- 98}; 99 100#ifdef CONFIG_PM 101int snd_cs5535audio_suspend(struct pci_dev *pci, pm_message_t state); 102int snd_cs5535audio_resume(struct pci_dev *pci); 103#endif 104 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 110 111int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio); 112 113#endif /* __SOUND_CS5535AUDIO_H */ 114 | 116#endif 117 118int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio); 119 120#endif /* __SOUND_CS5535AUDIO_H */ 121 |