summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/mediatek/pinctrl-mtk-common.c
diff options
context:
space:
mode:
authorArnd Bergmann2015-11-16 17:41:18 +0100
committerLinus Walleij2015-11-17 15:34:06 +0100
commitc3dd25cc78150d4db8c7a1842884553202d1fd43 (patch)
treeb88a3c26c4065d9feea858bb4d298caa32d3eb79 /drivers/pinctrl/mediatek/pinctrl-mtk-common.c
parentpinctrl: imx1-core: add missing of_node_put (diff)
downloadkernel-qcow2-linux-c3dd25cc78150d4db8c7a1842884553202d1fd43.tar.gz
kernel-qcow2-linux-c3dd25cc78150d4db8c7a1842884553202d1fd43.tar.xz
kernel-qcow2-linux-c3dd25cc78150d4db8c7a1842884553202d1fd43.zip
pinctrl: fix qcom ssbi drivers for 64-bit compilation
When building pinctrl-ssbi-gpio and pinctrl-ssbi-mpp for ARM64, we get a compile warning about invalid types: drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c: In function 'pm8xxx_gpio_probe': drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:675:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c: In function 'pm8xxx_mpp_probe': drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:766:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] This changes the code so we cast the pointer to 'unsigned long', which is the right thing to do here. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek/pinctrl-mtk-common.c')
0 files changed, 0 insertions, 0 deletions