]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: pf0900: Make regu_irqs variable static const
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Mon, 16 Feb 2026 08:58:05 +0000 (09:58 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 22 Feb 2026 23:53:49 +0000 (23:53 +0000)
commit0556bb42a84ee391a2145ddba86756f9747bc27f
treeffe373169af9c28ae438cda04731d47a16550e24
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
regulator: pf0900: Make regu_irqs variable static const

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

  pf0900-regulator.c:774:29: warning: symbol 'regu_irqs' was not declared. Should it be static?

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260216085804.69102-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pf0900-regulator.c