pci: sata_sil: Drop DM_PCI checks
[platform/kernel/u-boot.git] / common / lcd_simplefb.c
index 9cf1668..1650615 100644 (file)
@@ -10,6 +10,7 @@
 #include <dm.h>
 #include <lcd.h>
 #include <fdt_support.h>
+#include <asm/global_data.h>
 #include <linux/libfdt.h>
 #include <video.h>
 
@@ -22,7 +23,7 @@ static int lcd_dt_simplefb_configure_node(void *blob, int off)
        const char *name;
        ulong fb_base;
 #ifdef CONFIG_DM_VIDEO
-       struct video_uc_platdata *plat;
+       struct video_uc_plat *plat;
        struct video_priv *uc_priv;
        struct udevice *dev;
        int ret;