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