]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commitdiff
irqchip/mmp: Make icu_irq_chip variable static const
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Mon, 16 Feb 2026 11:04:50 +0000 (12:04 +0100)
committerThomas Gleixner <tglx@kernel.org>
Tue, 17 Feb 2026 10:03:56 +0000 (11:03 +0100)
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
drivers/irqchip/irq-mmp.c

index 09e640430208cb98521fc98405aad92369a60f04..8e210cb451bec927d40b3d205c530fe06e791373 100644 (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,