[PATCH 38/39] pci: Drop test for DM_VIDEO

Simon Glass sjg at chromium.org
Wed Oct 19 13:23:55 CEST 2022


This is not needed anymore, since there is no other option.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/pci/pci_rom.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c
index 27a24daa12a..47b6e6e5bcf 100644
--- a/drivers/pci/pci_rom.c
+++ b/drivers/pci/pci_rom.c
@@ -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
-- 
2.38.0.413.g74048e4d9e-goog



More information about the U-Boot mailing list