|
@@ -205,14 +205,6 @@ int irq_domain_xlate_onetwocell(struct irq_domain *d, struct device_node *ctrlr,
|
|
const u32 *intspec, unsigned int intsize,
|
|
const u32 *intspec, unsigned int intsize,
|
|
irq_hw_number_t *out_hwirq, unsigned int *out_type);
|
|
irq_hw_number_t *out_hwirq, unsigned int *out_type);
|
|
|
|
|
|
-#if defined(CONFIG_OF_IRQ)
|
|
|
|
-extern void irq_domain_generate_simple(const struct of_device_id *match,
|
|
|
|
- u64 phys_base, unsigned int irq_start);
|
|
|
|
-#else /* CONFIG_OF_IRQ */
|
|
|
|
-static inline void irq_domain_generate_simple(const struct of_device_id *match,
|
|
|
|
- u64 phys_base, unsigned int irq_start) { }
|
|
|
|
-#endif /* !CONFIG_OF_IRQ */
|
|
|
|
-
|
|
|
|
#else /* CONFIG_IRQ_DOMAIN */
|
|
#else /* CONFIG_IRQ_DOMAIN */
|
|
static inline void irq_dispose_mapping(unsigned int virq) { }
|
|
static inline void irq_dispose_mapping(unsigned int virq) { }
|
|
#endif /* !CONFIG_IRQ_DOMAIN */
|
|
#endif /* !CONFIG_IRQ_DOMAIN */
|