dm: treewide: Rename auto_alloc_size members to be shorter
[platform/kernel/u-boot.git] / drivers / video / exynos / exynos_dp.c
index 2781f6f..f18189a 100644 (file)
@@ -10,6 +10,8 @@
 #include <common.h>
 #include <display.h>
 #include <fdtdec.h>
+#include <log.h>
+#include <linux/delay.h>
 #include <linux/libfdt.h>
 #include <malloc.h>
 #include <video_bridge.h>
@@ -882,7 +884,7 @@ static int exynos_dp_ofdata_to_platdata(struct udevice *dev)
        unsigned int node = dev_of_offset(dev);
        fdt_addr_t addr;
 
-       addr = devfdt_get_addr(dev);
+       addr = dev_read_addr(dev);
        if (addr == FDT_ADDR_T_NONE) {
                debug("Can't get the DP base address\n");
                return -EINVAL;
@@ -1079,5 +1081,5 @@ U_BOOT_DRIVER(exynos_dp) = {
        .of_match = exynos_dp_ids,
        .ops    = &exynos_dp_ops,
        .ofdata_to_platdata     = exynos_dp_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct exynos_dp_priv),
+       .priv_auto      = sizeof(struct exynos_dp_priv),
 };