summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/qcom
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-10-20 09:56:50 +0200
committerLinus Walleij <linus.walleij@linaro.org>2022-10-24 10:17:28 +0200
commitdbbd909eeb26037fc38a4d29d6d94f7c39631a5e (patch)
treeaca54042130c28022fb5fa0210f93f1b572d6115 /drivers/pinctrl/qcom
parentMerge tag 'qcom-pinctrl-6.2' of https://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadlinux-dbbd909eeb26037fc38a4d29d6d94f7c39631a5e.tar.xz
linux-dbbd909eeb26037fc38a4d29d6d94f7c39631a5e.zip
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 <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20221020075650.1031228-1-yangyingliang@huawei.com Acked-by: Richard Acayan <mailingradian@gmail.com> [Fix up subject] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/qcom')
-rw-r--r--drivers/pinctrl/qcom/pinctrl-sdm670.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/qcom/pinctrl-sdm670.c b/drivers/pinctrl/qcom/pinctrl-sdm670.c
index 4c3c3782fef8..b888bca7ecd7 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
};