]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tpm: Make tcpci_pm_ops variable static const
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Mon, 16 Feb 2026 11:04:59 +0000 (12:04 +0100)
committerJarkko Sakkinen <jarkko@kernel.org>
Tue, 21 Apr 2026 15:54:27 +0000 (18:54 +0300)
commite6ffe09488e2010a04eb11e884cfee630e8c56a6
tree6979899deb56279b08d594a3a600985a2d3a2546
parentfaeab166167f5787719eb8683661fd41a3bb1514
tpm: Make tcpci_pm_ops variable static const

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

  tcpci.c:1002:1: warning: symbol 'tcpci_pm_ops' was not declared. Should it be static?

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
drivers/char/tpm/tpm2-cmd.c