aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/rk322x/clk_rk322x.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-rockchip/rk322x/clk_rk322x.c')
-rw-r--r--arch/arm/mach-rockchip/rk322x/clk_rk322x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/rk322x/clk_rk322x.c b/arch/arm/mach-rockchip/rk322x/clk_rk322x.c
index fc5abd736e8..2e57672b246 100644
--- a/arch/arm/mach-rockchip/rk322x/clk_rk322x.c
+++ b/arch/arm/mach-rockchip/rk322x/clk_rk322x.c
@@ -13,7 +13,7 @@
int rockchip_get_clk(struct udevice **devp)
{
return uclass_get_device_by_driver(UCLASS_CLK,
- DM_GET_DRIVER(rockchip_rk322x_cru), devp);
+ DM_DRIVER_GET(rockchip_rk322x_cru), devp);
}
void *rockchip_get_cru(void)