rockchip: timer: dw-apb-timer: use regs variable with uintptr_t size
The fdt_addr_t and phys_addr_t size have been decoupled. A 32bit CPU can expect 64-bit data from the device tree parser, so use a regs variable with uintptr_t size in the dw-apb-timer.c file. Signed-off-by: Johan Jonker <jbx6244@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
ac9198d1d5
commit
e9eddb75c5
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
#define DW_APB_CTRL 0x8
|
#define DW_APB_CTRL 0x8
|
||||||
|
|
||||||
struct dw_apb_timer_priv {
|
struct dw_apb_timer_priv {
|
||||||
fdt_addr_t regs;
|
uintptr_t regs;
|
||||||
struct reset_ctl_bulk resets;
|
struct reset_ctl_bulk resets;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue