Skip to content

Commit 16dd3bb

Browse files
Wei Yongjunkrzk
authored andcommitted
pinctrl: samsung: Make symbol 'exynos7885_pin_ctrl' static
The sparse tool complains as follows: drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:490:31: warning: symbol 'exynos7885_pin_ctrl' was not declared. Should it be static? This symbol is not used outside of pinctrl-exynos-arm64.c, so marks it static. Fixes: b0ef7b1 ("pinctrl: samsung: Add Exynos7885 SoC specific data") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20211123083617.2366756-1-weiyongjun1@huawei.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
1 parent b0ef7b1 commit 16dd3bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pinctrl/samsung/pinctrl-exynos-arm64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ static const struct samsung_pin_bank_data exynos7885_pin_banks3[] __initconst =
487487
EXYNOS850_PIN_BANK_EINTG(8, 0x200, "gpc2", 0x40),
488488
};
489489

490-
const struct samsung_pin_ctrl exynos7885_pin_ctrl[] __initconst = {
490+
static const struct samsung_pin_ctrl exynos7885_pin_ctrl[] __initconst = {
491491
{
492492
/* pin-controller instance 0 Alive data */
493493
.pin_banks = exynos7885_pin_banks0,

0 commit comments

Comments
 (0)