Message ID | 20221020075650.1031228-1-yangyingliang@huawei.com |
---|---|
State | Accepted |
Commit | dbbd909eeb26037fc38a4d29d6d94f7c39631a5e |
Headers | show |
Series | [-next] pinctrl: qcom: sdma670: change sdm670_reserved_gpios to static | expand |
On Thu, Oct 20, 2022 at 9:58 AM Yang Yingliang <yangyingliang@huawei.com> wrote: > 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> Fixed up subject and applied! Yours, Linus Walleij
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 };
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> --- drivers/pinctrl/qcom/pinctrl-sdm670.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)