uboot-rockchip: nanopi4: rename DM_GET_DRIVER to DM_DRIVER_GET

Upstream commit: u-boot/u-boot@65e25bea59 ("dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET()")

Fixes: #364

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2021-04-21 14:31:18 +08:00
parent 5e4d6e8c8e
commit f1e564e7c1
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -223,7 +223,7 @@ Signed-off-by: Tianling Shen <cnsztl@gmail.com>
+ struct udevice *dev;
+
+ if (uclass_get_device_by_driver(UCLASS_CLK,
+ DM_GET_DRIVER(clk_rk3399), &dev))
+ DM_DRIVER_GET(clk_rk3399), &dev))
+ return;
+#endif
+