[PATCH] pinctrl: bcm: ns: Use uintptr_t for data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix up a compiler error on 64bit architectures where pointers
and integers differ in size.

Cc: Rafał Miłecki <rafal@xxxxxxxxxx>
Suggested-by: Arnd Bergmann <arnd@xxxxxxxx>
Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
---
 drivers/pinctrl/bcm/pinctrl-ns.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/bcm/pinctrl-ns.c b/drivers/pinctrl/bcm/pinctrl-ns.c
index aedbb2813c50..c92da7caa610 100644
--- a/drivers/pinctrl/bcm/pinctrl-ns.c
+++ b/drivers/pinctrl/bcm/pinctrl-ns.c
@@ -20,7 +20,7 @@
 
 struct ns_pinctrl {
 	struct device *dev;
-	unsigned int chipset_flag;
+	uintptr_t chipset_flag;
 	struct pinctrl_dev *pctldev;
 	void __iomem *base;
 
-- 
2.17.1




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux