Re: [PATCH v3 1/2] irq: make irq_domain_reset_irq_data() available even for non-V2 users

From: Andy Shevchenko
Date: Fri Apr 17 2020 - 06:50:43 EST


On Fri, Apr 17, 2020 at 11:13 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
>
> From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
>
> irq_domain_reset_irq_data() doesn't modify the parent data, so it can be
> made available even if irq domain hierarchy is not being built. We'll
> subsequently use it in irq_sim code.


> @@ -475,7 +476,6 @@ extern int __irq_domain_alloc_irqs(struct irq_domain *domain, int irq_base,
> extern void irq_domain_free_irqs(unsigned int virq, unsigned int nr_irqs);
> extern int irq_domain_activate_irq(struct irq_data *irq_data, bool early);
> extern void irq_domain_deactivate_irq(struct irq_data *irq_data);
> -
> static inline int irq_domain_alloc_irqs(struct irq_domain *domain,
> unsigned int nr_irqs, int node, void *arg)
> {

Seems extra hunk slipped to the patch.

--
With Best Regards,
Andy Shevchenko