]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: arizona: Make some symbols static
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 10 Feb 2021 07:56:26 +0000 (07:56 +0000)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Apr 2021 15:03:18 +0000 (16:03 +0100)
commitde43b08c2ea557d0810dc3073d0072e242f5bec4
tree3652e3cddac5b04491844d2d0b831bfa1e288009
parent7a383c9292384dae4fb51122258f32c77478971a
mfd: arizona: Make some symbols static

The sparse tool complains as follows:

drivers/mfd/arizona-spi.c:28:31: warning:
 symbol 'reset_gpios' was not declared. Should it be static?
drivers/mfd/arizona-spi.c:29:31: warning:
 symbol 'ldoena_gpios' was not declared. Should it be static?

Those symbols are not used outside of arizona-spi.c, so this
commit marks them static.

Fixes: 42cf2fd6aa3e ("mfd: arizona: Add support for ACPI enumeration of WM5102 connected over SPI")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-spi.c