]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
USB: typec: tcpci: Make tcpci_pm_ops variable static
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Mon, 16 Feb 2026 11:04:04 +0000 (12:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Mar 2026 14:38:28 +0000 (15:38 +0100)
commit0313023f19054f2d267382e04d0c00988640e9f0
treeb05abf0673f54cfd96a08031b478cbc2a6c7c277
parent78bf06db167b1cddc7f46c2d30c11cca8e32b5d8
USB: typec: tcpci: Make tcpci_pm_ops variable static

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

  tcpm/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: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Badhri Jagan Sridharan <badhri@google.com>
Link: https://patch.msgid.link/20260216110403.159945-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpci.c