summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/zte/pinctrl-zx296718.c
diff options
context:
space:
mode:
authorArnd Bergmann2018-10-02 23:15:44 +0200
committerLinus Walleij2018-10-03 09:11:58 +0200
commitc5ad04dd44437223cd7b6e6a7a9777bcb2762fff (patch)
treedc7e84dccecafac13fc5d0142efae97d805fb0ff /drivers/pinctrl/zte/pinctrl-zx296718.c
parentpinctrl: nomadik: Fix debugfs (diff)
downloadkernel-qcow2-linux-c5ad04dd44437223cd7b6e6a7a9777bcb2762fff.tar.gz
kernel-qcow2-linux-c5ad04dd44437223cd7b6e6a7a9777bcb2762fff.tar.xz
kernel-qcow2-linux-c5ad04dd44437223cd7b6e6a7a9777bcb2762fff.zip
pinctrl: qcom: fix 'const' pointer handling
The 'tiles' array is initialized to a constant pointers to constant strings, but the declaration is only half as constant: drivers/pinctrl/qcom/pinctrl-qcs404.c:1660:11: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] drivers/pinctrl/qcom/pinctrl-sdm660.c:1417:11: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] Let's make it more constant. Fixes: 22eb8301dbc1 ("pinctrl: qcom: Add qcs404 pinctrl driver") Fixes: a46d5e98190d ("pinctrl: qcom: Support dispersed tiles") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/zte/pinctrl-zx296718.c')
0 files changed, 0 insertions, 0 deletions