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
Merge tag 'u-boot-imx-20200825' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[platform/kernel/u-boot.git]
/
drivers
/
timer
/
atmel_pit_timer.c
diff --git
a/drivers/timer/atmel_pit_timer.c
b/drivers/timer/atmel_pit_timer.c
index
7051169
..
843d670
100644
(file)
--- a/
drivers/timer/atmel_pit_timer.c
+++ b/
drivers/timer/atmel_pit_timer.c
@@
-64,7
+64,7
@@
static int atmel_pit_ofdata_to_platdata(struct udevice *dev)
{
struct atmel_pit_platdata *plat = dev_get_platdata(dev);
- plat->regs =
(struct atmel_pit_regs *)devfdt_get
_addr_ptr(dev);
+ plat->regs =
dev_read
_addr_ptr(dev);
return 0;
}