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:
parent
5e4d6e8c8e
commit
f1e564e7c1
@ -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
|
||||
+
|
||||
|
||||
Loading…
Reference in New Issue
Block a user