Skip to content

Commit

Permalink
[MIPS] Ocelot G: Fix : "CURRENTLY_UNUSED" is not defined warning.
Browse files Browse the repository at this point in the history
  CC      arch/mips/momentum/ocelot_g/gt-irq.o
arch/mips/momentum/ocelot_g/gt-irq.c:30:5: warning: "CURRENTLY_UNUSED" is not defined
arch/mips/momentum/ocelot_g/gt-irq.c:199:5: warning: "CURRENTLY_UNUSED" is not defined

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Nov 2, 2006
1 parent 9ba126c commit 8b922a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/mips/momentum/ocelot_g/gt-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ unsigned long bus_clock;
* be handled and ack'ed differently than other MIPS interrupts.
*/

#if CURRENTLY_UNUSED
#if 0

struct tq_struct irq_handlers[MAX_CAUSE_REGS][MAX_CAUSE_REG_WIDTH];
void hook_irq_handler(int int_cause, int bit_num, void *isr_ptr);
Expand Down Expand Up @@ -95,7 +95,7 @@ int disable_galileo_irq(int int_cause, int bit_num)
return 0;
return 1;
}
#endif /* UNUSED */
#endif /* 0 */

/*
* Interrupt handler for interrupts coming from the Galileo chip via P0_INT#.
Expand Down Expand Up @@ -196,7 +196,7 @@ void gt64240_time_init(void)

void gt64240_irq_init(void)
{
#if CURRENTLY_UNUSED
#if 0
int i, j;

/* Reset irq handlers pointers to NULL */
Expand All @@ -208,5 +208,5 @@ void gt64240_irq_init(void)
irq_handlers[i][j].data = NULL;
}
}
#endif
#endif /* 0 */
}

0 comments on commit 8b922a8

Please sign in to comment.