diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /sound/oss/dmasound | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
Diffstat (limited to 'sound/oss/dmasound')
-rw-r--r-- | sound/oss/dmasound/dmasound_atari.c | 4 | ||||
-rw-r--r-- | sound/oss/dmasound/dmasound_awacs.c | 14 | ||||
-rw-r--r-- | sound/oss/dmasound/dmasound_paula.c | 4 | ||||
-rw-r--r-- | sound/oss/dmasound/dmasound_q40.c | 8 |
4 files changed, 15 insertions, 15 deletions
diff --git a/sound/oss/dmasound/dmasound_atari.c b/sound/oss/dmasound/dmasound_atari.c index dc31373069a5..285239d64b82 100644 --- a/sound/oss/dmasound/dmasound_atari.c +++ b/sound/oss/dmasound/dmasound_atari.c | |||
@@ -133,7 +133,7 @@ static int FalconSetFormat(int format); | |||
133 | static int FalconSetVolume(int volume); | 133 | static int FalconSetVolume(int volume); |
134 | static void AtaPlayNextFrame(int index); | 134 | static void AtaPlayNextFrame(int index); |
135 | static void AtaPlay(void); | 135 | static void AtaPlay(void); |
136 | static irqreturn_t AtaInterrupt(int irq, void *dummy, struct pt_regs *fp); | 136 | static irqreturn_t AtaInterrupt(int irq, void *dummy); |
137 | 137 | ||
138 | /*** Mid level stuff *********************************************************/ | 138 | /*** Mid level stuff *********************************************************/ |
139 | 139 | ||
@@ -1257,7 +1257,7 @@ static void AtaPlay(void) | |||
1257 | } | 1257 | } |
1258 | 1258 | ||
1259 | 1259 | ||
1260 | static irqreturn_t AtaInterrupt(int irq, void *dummy, struct pt_regs *fp) | 1260 | static irqreturn_t AtaInterrupt(int irq, void *dummy) |
1261 | { | 1261 | { |
1262 | #if 0 | 1262 | #if 0 |
1263 | /* ++TeSche: if you should want to test this... */ | 1263 | /* ++TeSche: if you should want to test this... */ |
diff --git a/sound/oss/dmasound/dmasound_awacs.c b/sound/oss/dmasound/dmasound_awacs.c index 9ae659f82430..3bd19c36fcd9 100644 --- a/sound/oss/dmasound/dmasound_awacs.c +++ b/sound/oss/dmasound/dmasound_awacs.c | |||
@@ -281,9 +281,9 @@ static int PMacSetFormat(int format); | |||
281 | static int PMacSetVolume(int volume); | 281 | static int PMacSetVolume(int volume); |
282 | static void PMacPlay(void); | 282 | static void PMacPlay(void); |
283 | static void PMacRecord(void); | 283 | static void PMacRecord(void); |
284 | static irqreturn_t pmac_awacs_tx_intr(int irq, void *devid, struct pt_regs *regs); | 284 | static irqreturn_t pmac_awacs_tx_intr(int irq, void *devid); |
285 | static irqreturn_t pmac_awacs_rx_intr(int irq, void *devid, struct pt_regs *regs); | 285 | static irqreturn_t pmac_awacs_rx_intr(int irq, void *devid); |
286 | static irqreturn_t pmac_awacs_intr(int irq, void *devid, struct pt_regs *regs); | 286 | static irqreturn_t pmac_awacs_intr(int irq, void *devid); |
287 | static void awacs_write(int val); | 287 | static void awacs_write(int val); |
288 | static int awacs_get_volume(int reg, int lshift); | 288 | static int awacs_get_volume(int reg, int lshift); |
289 | static int awacs_volume_setter(int volume, int n, int mute, int lshift); | 289 | static int awacs_volume_setter(int volume, int n, int mute, int lshift); |
@@ -398,7 +398,7 @@ read_audio_gpio(int gpio_addr) | |||
398 | * Headphone interrupt via GPIO (Tumbler, Snapper, DACA) | 398 | * Headphone interrupt via GPIO (Tumbler, Snapper, DACA) |
399 | */ | 399 | */ |
400 | static irqreturn_t | 400 | static irqreturn_t |
401 | headphone_intr(int irq, void *devid, struct pt_regs *regs) | 401 | headphone_intr(int irq, void *devid) |
402 | { | 402 | { |
403 | unsigned long flags; | 403 | unsigned long flags; |
404 | 404 | ||
@@ -1037,7 +1037,7 @@ static void PMacRecord(void) | |||
1037 | */ | 1037 | */ |
1038 | 1038 | ||
1039 | static irqreturn_t | 1039 | static irqreturn_t |
1040 | pmac_awacs_tx_intr(int irq, void *devid, struct pt_regs *regs) | 1040 | pmac_awacs_tx_intr(int irq, void *devid) |
1041 | { | 1041 | { |
1042 | int i = write_sq.front; | 1042 | int i = write_sq.front; |
1043 | int stat; | 1043 | int stat; |
@@ -1129,7 +1129,7 @@ printk("dmasound_pmac: tx-irq: xfer died - patching it up...\n") ; | |||
1129 | 1129 | ||
1130 | 1130 | ||
1131 | static irqreturn_t | 1131 | static irqreturn_t |
1132 | pmac_awacs_rx_intr(int irq, void *devid, struct pt_regs *regs) | 1132 | pmac_awacs_rx_intr(int irq, void *devid) |
1133 | { | 1133 | { |
1134 | int stat ; | 1134 | int stat ; |
1135 | /* For some reason on my PowerBook G3, I get one interrupt | 1135 | /* For some reason on my PowerBook G3, I get one interrupt |
@@ -1212,7 +1212,7 @@ printk("dmasound_pmac: rx-irq: DIED - attempting resurection\n"); | |||
1212 | 1212 | ||
1213 | 1213 | ||
1214 | static irqreturn_t | 1214 | static irqreturn_t |
1215 | pmac_awacs_intr(int irq, void *devid, struct pt_regs *regs) | 1215 | pmac_awacs_intr(int irq, void *devid) |
1216 | { | 1216 | { |
1217 | int ctrl; | 1217 | int ctrl; |
1218 | int status; | 1218 | int status; |
diff --git a/sound/oss/dmasound/dmasound_paula.c b/sound/oss/dmasound/dmasound_paula.c index 68e1d8f6c359..90fc058e1159 100644 --- a/sound/oss/dmasound/dmasound_paula.c +++ b/sound/oss/dmasound/dmasound_paula.c | |||
@@ -82,7 +82,7 @@ static int AmiSetVolume(int volume); | |||
82 | static int AmiSetTreble(int treble); | 82 | static int AmiSetTreble(int treble); |
83 | static void AmiPlayNextFrame(int index); | 83 | static void AmiPlayNextFrame(int index); |
84 | static void AmiPlay(void); | 84 | static void AmiPlay(void); |
85 | static irqreturn_t AmiInterrupt(int irq, void *dummy, struct pt_regs *fp); | 85 | static irqreturn_t AmiInterrupt(int irq, void *dummy); |
86 | 86 | ||
87 | #ifdef CONFIG_HEARTBEAT | 87 | #ifdef CONFIG_HEARTBEAT |
88 | 88 | ||
@@ -556,7 +556,7 @@ static void AmiPlay(void) | |||
556 | } | 556 | } |
557 | 557 | ||
558 | 558 | ||
559 | static irqreturn_t AmiInterrupt(int irq, void *dummy, struct pt_regs *fp) | 559 | static irqreturn_t AmiInterrupt(int irq, void *dummy) |
560 | { | 560 | { |
561 | int minframes = 1; | 561 | int minframes = 1; |
562 | 562 | ||
diff --git a/sound/oss/dmasound/dmasound_q40.c b/sound/oss/dmasound/dmasound_q40.c index e2081f32b0c4..b3379dd7ca5e 100644 --- a/sound/oss/dmasound/dmasound_q40.c +++ b/sound/oss/dmasound/dmasound_q40.c | |||
@@ -48,8 +48,8 @@ static int Q40SetFormat(int format); | |||
48 | static int Q40SetVolume(int volume); | 48 | static int Q40SetVolume(int volume); |
49 | static void Q40PlayNextFrame(int index); | 49 | static void Q40PlayNextFrame(int index); |
50 | static void Q40Play(void); | 50 | static void Q40Play(void); |
51 | static irqreturn_t Q40StereoInterrupt(int irq, void *dummy, struct pt_regs *fp); | 51 | static irqreturn_t Q40StereoInterrupt(int irq, void *dummy); |
52 | static irqreturn_t Q40MonoInterrupt(int irq, void *dummy, struct pt_regs *fp); | 52 | static irqreturn_t Q40MonoInterrupt(int irq, void *dummy); |
53 | static void Q40Interrupt(void); | 53 | static void Q40Interrupt(void); |
54 | 54 | ||
55 | 55 | ||
@@ -451,7 +451,7 @@ static void Q40Play(void) | |||
451 | spin_unlock_irqrestore(&dmasound.lock, flags); | 451 | spin_unlock_irqrestore(&dmasound.lock, flags); |
452 | } | 452 | } |
453 | 453 | ||
454 | static irqreturn_t Q40StereoInterrupt(int irq, void *dummy, struct pt_regs *fp) | 454 | static irqreturn_t Q40StereoInterrupt(int irq, void *dummy) |
455 | { | 455 | { |
456 | spin_lock(&dmasound.lock); | 456 | spin_lock(&dmasound.lock); |
457 | if (q40_sc>1){ | 457 | if (q40_sc>1){ |
@@ -463,7 +463,7 @@ static irqreturn_t Q40StereoInterrupt(int irq, void *dummy, struct pt_regs *fp) | |||
463 | spin_unlock(&dmasound.lock); | 463 | spin_unlock(&dmasound.lock); |
464 | return IRQ_HANDLED; | 464 | return IRQ_HANDLED; |
465 | } | 465 | } |
466 | static irqreturn_t Q40MonoInterrupt(int irq, void *dummy, struct pt_regs *fp) | 466 | static irqreturn_t Q40MonoInterrupt(int irq, void *dummy) |
467 | { | 467 | { |
468 | spin_lock(&dmasound.lock); | 468 | spin_lock(&dmasound.lock); |
469 | if (q40_sc>0){ | 469 | if (q40_sc>0){ |