usb: misc: brcmstb-usb-pinmap: Make sync_all_pins static
authorZou Wei <zou_wei@huawei.com>
Fri, 30 Oct 2020 09:28:17 +0000 (17:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2020 10:49:36 +0000 (11:49 +0100)
commit9e39aef3a105d3c934d9348cc27f1ccfd9ebee01
treee600c647c8e530c8aab53fb55f9a00323277e8e7
parent217504a055325fe76ec1142aa15f14d3db77f94f
usb: misc: brcmstb-usb-pinmap: Make sync_all_pins static

Fix the following sparse warning:

drivers/usb/misc/brcmstb-usb-pinmap.c:219:6: warning: symbol 'sync_all_pins' was not declared. Should it be static?

The sync_all_pins has only call site within brcmstb-usb-pinmap.c
It should be static

Fixes: 517c4c44b323 ("usb: Add driver to allow any GPIO to be used for 7211 USB signals")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Link: https://lore.kernel.org/r/1604050097-91302-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/brcmstb-usb-pinmap.c