diff options
Diffstat (limited to 'include/asm-powerpc/irq.h')
-rw-r--r-- | include/asm-powerpc/irq.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-powerpc/irq.h b/include/asm-powerpc/irq.h index 4734cc178db5..05dd5a3eb3aa 100644 --- a/include/asm-powerpc/irq.h +++ b/include/asm-powerpc/irq.h | |||
@@ -138,10 +138,7 @@ struct irq_map_entry { | |||
138 | 138 | ||
139 | extern struct irq_map_entry irq_map[NR_IRQS]; | 139 | extern struct irq_map_entry irq_map[NR_IRQS]; |
140 | 140 | ||
141 | static inline irq_hw_number_t virq_to_hw(unsigned int virq) | 141 | extern irq_hw_number_t virq_to_hw(unsigned int virq); |
142 | { | ||
143 | return irq_map[virq].hwirq; | ||
144 | } | ||
145 | 142 | ||
146 | /** | 143 | /** |
147 | * irq_alloc_host - Allocate a new irq_host data structure | 144 | * irq_alloc_host - Allocate a new irq_host data structure |