pci: Drop test for DM_VIDEO
authorSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2022 13:58:16 +0000 (07:58 -0600)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Oct 2022 19:07:17 +0000 (20:07 +0100)
This is not needed anymore, since there is no other option.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/pci/pci_rom.c

index 27a24da..47b6e6e 100644 (file)
@@ -325,7 +325,6 @@ err:
        return ret;
 }
 
-#ifdef CONFIG_DM_VIDEO
 int vesa_setup_video_priv(struct vesa_mode_info *vesa,
                          struct video_priv *uc_priv,
                          struct video_uc_plat *plat)
@@ -398,4 +397,3 @@ int vesa_setup_video(struct udevice *dev, int (*int15_handler)(void))
 
        return 0;
 }
-#endif