summaryrefslogtreecommitdiff
path: root/drivers/clk/at91/sckc.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-05-09 12:45:49 -0400
committerTom Rini <trini@konsulko.com>2023-05-09 12:45:49 -0400
commit0a9a4384c1483a88776bca38e28f09be51161034 (patch)
treec39e9bac9413c5c90f8da424865d67a7efdca315 /drivers/clk/at91/sckc.c
parentf1d33a44ca04fdca241c1d89fd79e2e56c930c7e (diff)
parent716ed2a8c0bba085372df0eb7edb580b11e8d94c (diff)
Merge tag 'u-boot-rockchip-20230509' of https://source.denx.de/u-boot/custodians/u-boot-rockchip
- Rockchip NFC driver update and dev addr pointer api update; - use standard dr_mode for usb driver; - rock pi boards dts update; - Add rk3566 Anbernic boards; - Misc fixes for drivers;
Diffstat (limited to 'drivers/clk/at91/sckc.c')
-rw-r--r--drivers/clk/at91/sckc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/sckc.c b/drivers/clk/at91/sckc.c
index 34ce611a98c..43136ab2e34 100644
--- a/drivers/clk/at91/sckc.c
+++ b/drivers/clk/at91/sckc.c
@@ -123,7 +123,7 @@ U_BOOT_DRIVER(at91_sam9x60_td_slck) = {
static int at91_sam9x60_sckc_probe(struct udevice *dev)
{
struct sam9x60_sckc *sckc = dev_get_priv(dev);
- void __iomem *base = (void *)devfdt_get_addr(dev);
+ void __iomem *base = devfdt_get_addr_ptr(dev);
const char *slow_rc_osc, *slow_osc;
const char *parents[2];
struct clk *clk, c;