Commit 6e6f6618 authored by Greg Ungerer's avatar Greg Ungerer Committed by Christoph Hellwig

[PATCH] fix wrong argument prototype in m68knommu/68360 for interrupt handler

Fix wrong argument prototype in m68knommu commproc.c.
parent e6c9cbd6
...@@ -71,7 +71,7 @@ static void cpm_interrupt(int irq, void * dev, struct pt_regs * regs); ...@@ -71,7 +71,7 @@ static void cpm_interrupt(int irq, void * dev, struct pt_regs * regs);
static void cpm_error_interrupt(void *); static void cpm_error_interrupt(void *);
/* prototypes: */ /* prototypes: */
void cpm_install_handler(int vec, void (*handler)(void *), void *dev_id); void cpm_install_handler(int vec, void (*handler)(), void *dev_id);
void m360_cpm_reset(void); void m360_cpm_reset(void);
...@@ -207,7 +207,7 @@ cpm_error_interrupt(void *dev) ...@@ -207,7 +207,7 @@ cpm_error_interrupt(void *dev)
/* Install a CPM interrupt handler. /* Install a CPM interrupt handler.
*/ */
void void
cpm_install_handler(int vec, void (*handler)(void *), void *dev_id) cpm_install_handler(int vec, void (*handler)(), void *dev_id)
{ {
request_irq(vec, handler, IRQ_FLG_LOCK, "timer", dev_id); request_irq(vec, handler, IRQ_FLG_LOCK, "timer", dev_id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment