diff options
-rw-r--r-- | drivers/char/psaux.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/char/psaux.c b/drivers/char/psaux.c index 17c6c5383..aa022cd81 100644 --- a/drivers/char/psaux.c +++ b/drivers/char/psaux.c @@ -250,7 +250,11 @@ void aux_interrupt(unsigned char status, unsigned char data) #else /* !defined(CONFIG_SGI) */ +#ifdef CONFIG_MIPS_JAZZ +void aux_interrupt(int cpl, void *dev_id, struct pt_regs * regs) +#else static void aux_interrupt(int cpl, void *dev_id, struct pt_regs * regs) +#endif { int head = queue->head; int maxhead = (queue->tail-1) & (AUX_BUF_SIZE-1); @@ -628,7 +632,7 @@ __initfunc(int psaux_init(void)) psaux_fops.release = release_qp; } else #endif -#if defined(CONFIG_SGI) && defined(CONFIG_PSMOUSE) +#if (defined(CONFIG_SGI) || defined(CONFIG_MIPS_JAZZ)) && defined(CONFIG_PSMOUSE) if (1) { #else if (aux_device_present == 0xaa) { |