]> www.infradead.org Git - users/willy/xarray.git/commit
pmdomain: apple: Make apple_pmgr_reset_ops static
authorJinjie Ruan <ruanjinjie@huawei.com>
Mon, 19 Aug 2024 11:59:56 +0000 (19:59 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Aug 2024 09:28:01 +0000 (11:28 +0200)
commit9b37f971f31354fcfd84b7c2f219138644c7edd3
tree4b8625fa1a0cf7e8c95f3e2deb3ee0ffe393915a
parent3b019409ce9a280db53dbf6beb7ee42c17951782
pmdomain: apple: Make apple_pmgr_reset_ops static

The sparse tool complains as follows:

drivers/pmdomain/apple/pmgr-pwrstate.c:180:32: warning:
symbol 'apple_pmgr_reset_ops' was not declared. Should it be static:

This symbol is not used outside of pmgr-pwrstate.c, so marks it static.

Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20240819115956.3884847-1-ruanjinjie@huawei.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/apple/pmgr-pwrstate.c