rockchip: pwm: rk_pwm: use base 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 base variable with uintptr_t size in the rk_pwm.c file. Signed-off-by: Johan Jonker <jbx6244@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
e9eddb75c5
commit
88a9e58b99
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ struct rockchip_pwm_data {
|
|||
};
|
||||
|
||||
struct rk_pwm_priv {
|
||||
fdt_addr_t base;
|
||||
uintptr_t base;
|
||||
ulong freq;
|
||||
u32 conf_polarity;
|
||||
const struct rockchip_pwm_data *data;
|
||||
|
|
Loading…
Reference in a new issue