]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/x86/cpu/ivybridge/gma.c
dm: pci: video: Convert video and pci_rom to use DM PCI API
[people/ms/u-boot.git] / arch / x86 / cpu / ivybridge / gma.c
index 695578b73c1986b1092e548852ef58a6c7a8779f..85a09c64b6725024b35d294f94f0420ab88dcb1f 100644 (file)
@@ -756,8 +756,8 @@ int gma_func0_init(struct udevice *dev, const void *blob, int node)
 
 #ifdef CONFIG_VIDEO
        start = get_timer(0);
-       ret = pci_run_vga_bios(dm_pci_get_bdf(dev), int15_handler,
-                              PCI_ROM_USE_NATIVE | PCI_ROM_ALLOW_FALLBACK);
+       ret = dm_pci_run_vga_bios(dev, int15_handler,
+                                 PCI_ROM_USE_NATIVE | PCI_ROM_ALLOW_FALLBACK);
        debug("BIOS ran in %lums\n", get_timer(start));
 #endif
        /* Post VBIOS init */