aboutsummaryrefslogtreecommitdiff
path: root/include/pci_rom.h
diff options
context:
space:
mode:
authorSimon Glass2015-11-29 13:17:57 -0700
committerSimon Glass2016-01-12 10:19:09 -0700
commit3f4e1e8efc5b700473f1920e92b521cb0945a6e3 (patch)
treef6a14337c06d9dc7b48367073ff17eeb467ddd8a /include/pci_rom.h
parent7d8e4042f19eafcb24eeabbf10830aa21c3b700c (diff)
dm: pci: video: Convert video and pci_rom to use DM PCI API
Adjust these files to use the driver-model PCI API instead of the legacy functions. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/pci_rom.h')
-rw-r--r--include/pci_rom.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pci_rom.h b/include/pci_rom.h
index 2f1665d17ac..95c6d079fb3 100644
--- a/include/pci_rom.h
+++ b/include/pci_rom.h
@@ -44,14 +44,14 @@ enum pci_rom_emul {
};
/**
- * pci_run_vga_bios() - Run the VGA BIOS in an x86 PC
+ * dm_pci_run_vga_bios() - Run the VGA BIOS in an x86 PC
*
* @dev: Video device containing the BIOS
* @int15_handler: Function to call to handle int 0x15
* @exec_method: flags from enum pci_rom_emul
*/
-int pci_run_vga_bios(pci_dev_t dev, int (*int15_handler)(void),
- int exec_method);
+int dm_pci_run_vga_bios(struct udevice *dev, int (*int15_handler)(void),
+ int exec_method);
/**
* board_map_oprom_vendev() - map several PCI IDs to the one the ROM expects