linux-hardened/drivers/pinctrl/qcom
Arnd Bergmann c3dd25cc78 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>
2015-11-17 15:34:06 +01:00
..
Kconfig pinctrl: add support for Qualcomm Technologies QDF2xxx ARM64 SoCs 2015-07-17 21:56:14 +02:00
Makefile pinctrl: add support for Qualcomm Technologies QDF2xxx ARM64 SoCs 2015-07-17 21:56:14 +02:00
pinctrl-apq8064.c pinctrl: qcom: drop owner assignment from platform_drivers 2014-10-20 16:21:23 +02:00
pinctrl-apq8084.c pinctrl: qcom: drop owner assignment from platform_drivers 2014-10-20 16:21:23 +02:00
pinctrl-ipq8064.c pinctrl: qcom: drop owner assignment from platform_drivers 2014-10-20 16:21:23 +02:00
pinctrl-msm.c pinctrl: replace trivial implementations of gpio_chip request/free 2015-10-16 22:20:21 +02:00
pinctrl-msm.h pinctrl: qcom: increase variable size for register offsets 2015-01-30 14:32:44 +01:00
pinctrl-msm8x74.c pinctrl: qcom: drop owner assignment from platform_drivers 2014-10-20 16:21:23 +02:00
pinctrl-msm8660.c pinctrl: qcom: Add MSM8660 pinctrl definitions 2015-06-10 10:18:38 +02:00
pinctrl-msm8916.c pinctrl: qcom: Add msm8916 pinctrl driver 2015-01-30 14:35:09 +01:00
pinctrl-msm8960.c pinctrl: qcom: drop owner assignment from platform_drivers 2014-10-20 16:21:23 +02:00
pinctrl-qdf2xxx.c pinctrl: add support for Qualcomm Technologies QDF2xxx ARM64 SoCs 2015-07-17 21:56:14 +02:00
pinctrl-spmi-gpio.c pinctrl: replace trivial implementations of gpio_chip request/free 2015-10-16 22:20:21 +02:00
pinctrl-spmi-mpp.c pinctrl: replace trivial implementations of gpio_chip request/free 2015-10-16 22:20:21 +02:00
pinctrl-ssbi-gpio.c pinctrl: fix qcom ssbi drivers for 64-bit compilation 2015-11-17 15:34:06 +01:00
pinctrl-ssbi-mpp.c pinctrl: fix qcom ssbi drivers for 64-bit compilation 2015-11-17 15:34:06 +01:00