diff mbox series

[38/39] pci: Drop test for DM_VIDEO

Message ID 20221019112356.1042065-39-sjg@chromium.org
State Accepted
Delegated to: Anatolij Gustschin
Headers show
Series lcd: Drop old LCD support | expand

Commit Message

Simon Glass Oct. 19, 2022, 11:23 a.m. UTC
This is not needed anymore, since there is no other option.

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

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

Patch

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