|
@@ -98,11 +98,7 @@ extern struct irq_desc irq_desc[NR_IRQS];
|
|
|
|
|
|
static inline struct irq_desc *irq_data_to_desc(struct irq_data *data)
|
|
|
{
|
|
|
-#ifdef CONFIG_IRQ_DOMAIN_HIERARCHY
|
|
|
- return irq_to_desc(data->irq);
|
|
|
-#else
|
|
|
- return container_of(data, struct irq_desc, irq_data);
|
|
|
-#endif
|
|
|
+ return container_of(data->common, struct irq_desc, irq_common_data);
|
|
|
}
|
|
|
|
|
|
static inline unsigned int irq_desc_get_irq(struct irq_desc *desc)
|