projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1adbf29
)
gpio: zynq: Use live-tree function
author
Michal Simek
<michal.simek@xilinx.com>
Thu, 21 Jun 2018 07:21:35 +0000
(09:21 +0200)
committer
Michal Simek
<michal.simek@xilinx.com>
Thu, 19 Jul 2018 08:49:53 +0000
(10:49 +0200)
Use live-tree function.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpio/zynq_gpio.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/zynq_gpio.c
b/drivers/gpio/zynq_gpio.c
index
8d84e3f
..
afba458
100644
(file)
--- a/
drivers/gpio/zynq_gpio.c
+++ b/
drivers/gpio/zynq_gpio.c
@@
-374,7
+374,7
@@
static int zynq_gpio_ofdata_to_platdata(struct udevice *dev)
{
struct zynq_gpio_privdata *priv = dev_get_priv(dev);
- priv->base =
devfdt_get
_addr(dev);
+ priv->base =
(phys_addr_t)dev_read
_addr(dev);
return 0;
}