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/dmasound_q40.c | |
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/dmasound_q40.c')
-rw-r--r-- | sound/oss/dmasound/dmasound_q40.c | 8 |
1 files changed, 4 insertions, 4 deletions
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){ |