Commit 8b922a85 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] Ocelot G: Fix : "CURRENTLY_UNUSED" is not defined warning.

  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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 9ba126cf
...@@ -27,7 +27,7 @@ unsigned long bus_clock; ...@@ -27,7 +27,7 @@ unsigned long bus_clock;
* be handled and ack'ed differently than other MIPS interrupts. * 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]; 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); void hook_irq_handler(int int_cause, int bit_num, void *isr_ptr);
...@@ -95,7 +95,7 @@ int disable_galileo_irq(int int_cause, int bit_num) ...@@ -95,7 +95,7 @@ int disable_galileo_irq(int int_cause, int bit_num)
return 0; return 0;
return 1; return 1;
} }
#endif /* UNUSED */ #endif /* 0 */
/* /*
* Interrupt handler for interrupts coming from the Galileo chip via P0_INT#. * Interrupt handler for interrupts coming from the Galileo chip via P0_INT#.
...@@ -196,7 +196,7 @@ void gt64240_time_init(void) ...@@ -196,7 +196,7 @@ void gt64240_time_init(void)
void gt64240_irq_init(void) void gt64240_irq_init(void)
{ {
#if CURRENTLY_UNUSED #if 0
int i, j; int i, j;
/* Reset irq handlers pointers to NULL */ /* Reset irq handlers pointers to NULL */
...@@ -208,5 +208,5 @@ void gt64240_irq_init(void) ...@@ -208,5 +208,5 @@ void gt64240_irq_init(void)
irq_handlers[i][j].data = NULL; irq_handlers[i][j].data = NULL;
} }
} }
#endif #endif /* 0 */
} }
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