Skip to content

Commit ea80aa2

Browse files
ludovicbarreMarc Zyngier
authored andcommitted
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>
1 parent ff78716 commit ea80aa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/irqchip/irq-stm32-exti.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ static void stm32_exti_free(struct irq_domain *d, unsigned int virq,
186186
irq_domain_reset_irq_data(data);
187187
}
188188

189-
struct irq_domain_ops irq_exti_domain_ops = {
189+
static const struct irq_domain_ops irq_exti_domain_ops = {
190190
.map = irq_map_generic_chip,
191191
.alloc = stm32_exti_alloc,
192192
.free = stm32_exti_free,
@@ -221,7 +221,7 @@ __init stm32_exti_init(const struct stm32_exti_bank **stm32_exti_banks,
221221
handle_edge_irq, clr, 0, 0);
222222
if (ret) {
223223
pr_err("%pOF: Could not allocate generic interrupt chip.\n",
224-
node);
224+
node);
225225
goto out_free_domain;
226226
}
227227

0 commit comments

Comments
 (0)