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/pci/ice1712/ice1724.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/pci/ice1712/ice1724.c')
-rw-r--r-- | sound/pci/ice1712/ice1724.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c index 71d6aedc0749..e9cbfdf37059 100644 --- a/sound/pci/ice1712/ice1724.c +++ b/sound/pci/ice1712/ice1724.c | |||
@@ -218,7 +218,7 @@ static unsigned int snd_vt1724_get_gpio_data(struct snd_ice1712 *ice) | |||
218 | * Interrupt handler | 218 | * Interrupt handler |
219 | */ | 219 | */ |
220 | 220 | ||
221 | static irqreturn_t snd_vt1724_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 221 | static irqreturn_t snd_vt1724_interrupt(int irq, void *dev_id) |
222 | { | 222 | { |
223 | struct snd_ice1712 *ice = dev_id; | 223 | struct snd_ice1712 *ice = dev_id; |
224 | unsigned char status; | 224 | unsigned char status; |
@@ -236,7 +236,7 @@ static irqreturn_t snd_vt1724_interrupt(int irq, void *dev_id, struct pt_regs *r | |||
236 | */ | 236 | */ |
237 | if ((status & VT1724_IRQ_MPU_RX)||(status & VT1724_IRQ_MPU_TX)) { | 237 | if ((status & VT1724_IRQ_MPU_RX)||(status & VT1724_IRQ_MPU_TX)) { |
238 | if (ice->rmidi[0]) | 238 | if (ice->rmidi[0]) |
239 | snd_mpu401_uart_interrupt(irq, ice->rmidi[0]->private_data, regs); | 239 | snd_mpu401_uart_interrupt(irq, ice->rmidi[0]->private_data); |
240 | outb(status & (VT1724_IRQ_MPU_RX|VT1724_IRQ_MPU_TX), ICEREG1724(ice, IRQSTAT)); | 240 | outb(status & (VT1724_IRQ_MPU_RX|VT1724_IRQ_MPU_TX), ICEREG1724(ice, IRQSTAT)); |
241 | status &= ~(VT1724_IRQ_MPU_RX|VT1724_IRQ_MPU_TX); | 241 | status &= ~(VT1724_IRQ_MPU_RX|VT1724_IRQ_MPU_TX); |
242 | } | 242 | } |