]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
cpuidle/pseries: Make symbol 'pseries_idle_driver' static
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 14 Jul 2020 14:24:24 +0000 (22:24 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jul 2020 03:12:45 +0000 (13:12 +1000)
commit92fe8483b1660feaa602d8be6ca7efe95ae4789b
treedd696db43a7a5063c01b0df85e63545c39b73794
parent89c140bbaeee7a55ed0360a88f294ead2b95201b
cpuidle/pseries: Make symbol 'pseries_idle_driver' static

The sparse tool complains as follows:

drivers/cpuidle/cpuidle-pseries.c:25:23: warning:
 symbol 'pseries_idle_driver' was not declared. Should it be static?

'pseries_idle_driver' is not used outside of this file, so marks
it static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200714142424.66648-1-weiyongjun1@huawei.com
drivers/cpuidle/cpuidle-pseries.c