mirror of
https://github.com/torvalds/linux
synced 2024-10-05 10:52:54 +00:00
irqchip/stm32: Checkpatch fix
-WARNING: struct irq_domain_ops should normally be const -CHECK: Alignment should match open parenthesis Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
This commit is contained in:
parent
ff78716d43
commit
ea80aa2a1a
|
@ -186,7 +186,7 @@ static void stm32_exti_free(struct irq_domain *d, unsigned int virq,
|
||||||
irq_domain_reset_irq_data(data);
|
irq_domain_reset_irq_data(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct irq_domain_ops irq_exti_domain_ops = {
|
static const struct irq_domain_ops irq_exti_domain_ops = {
|
||||||
.map = irq_map_generic_chip,
|
.map = irq_map_generic_chip,
|
||||||
.alloc = stm32_exti_alloc,
|
.alloc = stm32_exti_alloc,
|
||||||
.free = stm32_exti_free,
|
.free = stm32_exti_free,
|
||||||
|
@ -221,7 +221,7 @@ __init stm32_exti_init(const struct stm32_exti_bank **stm32_exti_banks,
|
||||||
handle_edge_irq, clr, 0, 0);
|
handle_edge_irq, clr, 0, 0);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
pr_err("%pOF: Could not allocate generic interrupt chip.\n",
|
pr_err("%pOF: Could not allocate generic interrupt chip.\n",
|
||||||
node);
|
node);
|
||||||
goto out_free_domain;
|
goto out_free_domain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue