]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: dw: Fix warnings about casting int to pointer
authorSean Anderson <seanga2@gmail.com>
Mon, 14 Sep 2020 15:01:59 +0000 (11:01 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 8 Oct 2020 15:42:36 +0000 (11:42 -0400)
commitaf551daf9e0ab9c796015031beb02e5d62d29598
tree1671ab01466b770d6b501424ae98369d11a8337d
parent7224d5ccf8e1d2552e2994c5d55769c334231c08
gpio: dw: Fix warnings about casting int to pointer

Change the type of gpio_dwabp_platdata.base from fdt_addr_t to a void
pointer, since we pass it to readl.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/gpio/dwapb_gpio.c