]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit892b91afafe25806a5ce75fd101a8446eacd4190
treea1027086951a0795483301e6135d906d34abd4bf
parent09fb1e88114857cb5e2510f359e1eaf7891fffeb
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