From: Yang Yingliang Date: Thu, 20 Oct 2022 07:56:50 +0000 (+0800) Subject: pinctrl: qcom: sdm670: change sdm670_reserved_gpios to static X-Git-Tag: v6.6.7~3933^2~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dbbd909eeb26037fc38a4d29d6d94f7c39631a5e;p=platform%2Fkernel%2Flinux-starfive.git pinctrl: qcom: sdm670: change sdm670_reserved_gpios to static sdm670_reserved_gpios is only used in pinctrl-sdm670.c now, change it to static. Fixes: 61164d220f52 ("pinctrl: qcom: add sdm670 pinctrl") Signed-off-by: Yang Yingliang Link: https://lore.kernel.org/r/20221020075650.1031228-1-yangyingliang@huawei.com Acked-by: Richard Acayan [Fix up subject] Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/qcom/pinctrl-sdm670.c b/drivers/pinctrl/qcom/pinctrl-sdm670.c index 4c3c378..b888bca 100644 --- a/drivers/pinctrl/qcom/pinctrl-sdm670.c +++ b/drivers/pinctrl/qcom/pinctrl-sdm670.c @@ -1294,7 +1294,7 @@ static const struct msm_pingroup sdm670_groups[] = { SDC_QDSD_PINGROUP(sdc2_data, 0x9a000, 9, 0), }; -const int sdm670_reserved_gpios[] = { +static const int sdm670_reserved_gpios[] = { 58, 59, 60, 61, 62, 63, 64, 69, 70, 71, 72, 73, 74, 104, -1 };