irqchip/mmp: Make icu_irq_chip variable static const

File-scope 'icu_irq_chip' is not used outside of this unit and is not
modified anywhere, so make it static const to silence sparse warning:

  irq-mmp.c:139:17: warning: symbol 'icu_irq_chip' was not declared. Should it be static?

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260216110449.160277-2-krzysztof.kozlowski@oss.qualcomm.com
This commit is contained in:
Krzysztof Kozlowski
2026-02-17 11:03:56 +01:00
committed by Thomas Gleixner
parent ce9e40a9a5
commit f0617176be
+1 -1
View File
@@ -136,7 +136,7 @@ static void icu_unmask_irq(struct irq_data *d)
}
}
struct irq_chip icu_irq_chip = {
static const struct irq_chip icu_irq_chip = {
.name = "icu_irq",
.irq_mask = icu_mask_irq,
.irq_mask_ack = icu_mask_ack_irq,