Message ID | 20200128101005.18794-2-faiz_abbas@ti.com |
---|---|
State | New |
Headers | show |
Series | Add Support for gpio0 in J721e | expand |
diff --git a/drivers/gpio/da8xx_gpio.c b/drivers/gpio/da8xx_gpio.c index bd5a366aef..d28e1fa14c 100644 --- a/drivers/gpio/da8xx_gpio.c +++ b/drivers/gpio/da8xx_gpio.c @@ -434,7 +434,7 @@ int gpio_set_value(unsigned int gpio, int value) static struct davinci_gpio *davinci_get_gpio_bank(struct udevice *dev, unsigned int offset) { struct davinci_gpio_bank *bank = dev_get_priv(dev); - unsigned int addr; + unsigned long addr; /* * The device tree is not broken into banks but the infrastructure is