Commit 16dd3bb5 authored by Wei Yongjun's avatar Wei Yongjun Committed by Krzysztof Kozlowski

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: b0ef7b1a ("pinctrl: samsung: Add Exynos7885 SoC specific data")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20211123083617.2366756-1-weiyongjun1@huawei.comSigned-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
parent b0ef7b1a
......@@ -487,7 +487,7 @@ static const struct samsung_pin_bank_data exynos7885_pin_banks3[] __initconst =
EXYNOS850_PIN_BANK_EINTG(8, 0x200, "gpc2", 0x40),
};
const struct samsung_pin_ctrl exynos7885_pin_ctrl[] __initconst = {
static const struct samsung_pin_ctrl exynos7885_pin_ctrl[] __initconst = {
{
/* pin-controller instance 0 Alive data */
.pin_banks = exynos7885_pin_banks0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment