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.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/pci/cs5535audio/cs5535audio.h b/sound/pci/cs5535audio/cs5535audio.h
index e28177fb0991..774185e026d4 100644
--- a/sound/pci/cs5535audio/cs5535audio.h
+++ b/sound/pci/cs5535audio/cs5535audio.h
@@ -1,11 +1,11 @@
1#ifndef __SOUND_CS5535AUDIO_H 1#ifndef __SOUND_CS5535AUDIO_H
2#define __SOUND_CS5535AUDIO_H 2#define __SOUND_CS5535AUDIO_H
3 3
4#define cs_writel(cs5535au, reg, val) outl(val, (int) cs5535au->port + reg) 4#define cs_writel(cs5535au, reg, val) outl(val, (cs5535au)->port + reg)
5#define cs_writeb(cs5535au, reg, val) outb(val, (int) cs5535au->port + reg) 5#define cs_writeb(cs5535au, reg, val) outb(val, (cs5535au)->port + reg)
6#define cs_readl(cs5535au, reg) inl((unsigned short) (cs5535au->port + reg)) 6#define cs_readl(cs5535au, reg) inl((cs5535au)->port + reg)
7#define cs_readw(cs5535au, reg) inw((unsigned short) (cs5535au->port + reg)) 7#define cs_readw(cs5535au, reg) inw((cs5535au)->port + reg)
8#define cs_readb(cs5535au, reg) inb((unsigned short) (cs5535au->port + reg)) 8#define cs_readb(cs5535au, reg) inb((cs5535au)->port + reg)
9 9
10#define CS5535AUDIO_MAX_DESCRIPTORS 128 10#define CS5535AUDIO_MAX_DESCRIPTORS 128
11 11