projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rockchip: gpio: convert to livetree
[platform/kernel/u-boot.git]
/
drivers
/
gpio
/
rk_gpio.c
diff --git
a/drivers/gpio/rk_gpio.c
b/drivers/gpio/rk_gpio.c
index
6f7366a
..
a6b83b2
100644
(file)
--- a/
drivers/gpio/rk_gpio.c
+++ b/
drivers/gpio/rk_gpio.c
@@
-104,7
+104,7
@@
static int rockchip_gpio_probe(struct udevice *dev)
int ret;
/* This only supports RK3288 at present */
- priv->regs =
(struct rockchip_gpio_regs *)devfdt_get_add
r(dev);
+ priv->regs =
dev_read_addr_pt
r(dev);
ret = uclass_first_device_err(UCLASS_PINCTRL, &priv->pinctrl);
if (ret)
return ret;