macintosh/windfarm: Make symbol 'pm121_sys_state' static
authorYu Kuai <yukuai3@huawei.com>
Wed, 7 Apr 2021 12:57:12 +0000 (20:57 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:13 +0000 (23:04 +1000)
commit13ddd0e3acf988a98b46800178ae691640b0cd00
treeaaaf8188b63601a0f2d89ee55b3eb5c254b367dd
parentf6f1f48e8b3b242dfa684d6e1b930d239d87533a
macintosh/windfarm: Make symbol 'pm121_sys_state' static

The sparse tool complains as follows:

drivers/macintosh/windfarm_pm121.c:436:24: warning:
 symbol 'pm121_sys_state' was not declared. Should it be static?

This symbol is not used outside of windfarm_pm121.c, so this
commit marks it static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210407125712.4138033-1-yukuai3@huawei.com
drivers/macintosh/windfarm_pm121.c