gpio: da8xx_gpio: Fix compiler warning
authorVignesh Raghavendra <vigneshr@ti.com>
Tue, 28 Jan 2020 10:10:02 +0000 (15:40 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 4 Feb 2020 03:37:24 +0000 (09:07 +0530)
commit94f992d57a628cc8be40ced17ae87cf364fecffc
treea1027086951a0795483301e6135d906d34abd4bf
parent05ef2cdd2ba13517737d01f7722002b8ae401e00
gpio: da8xx_gpio: Fix compiler warning

Fix below compiler warning for 64bit builds

drivers/gpio/da8xx_gpio.c: In function ‘davinci_get_gpio_bank’:
drivers/gpio/da8xx_gpio.c:446:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  return (struct davinci_gpio *)addr;

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/gpio/da8xx_gpio.c