diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-04-24 15:48:04 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-29 18:51:49 -0600 |
commit | 81d0b354b04b7d3012f2388af3107bee14d3bf86 (patch) | |
tree | b9bb9abcd5de3cff21b048ac9987e865cbfe3a18 /drivers | |
parent | d57c2f24fc90ead0c53b06a9ae3daa1b7c44f411 (diff) | |
download | u-boot-imx-81d0b354b04b7d3012f2388af3107bee14d3bf86.zip u-boot-imx-81d0b354b04b7d3012f2388af3107bee14d3bf86.tar.gz u-boot-imx-81d0b354b04b7d3012f2388af3107bee14d3bf86.tar.bz2 |
pci: Remove parameter 'class' of pci_rom_load()
pci_rom_load() does not use its parameter 'class', so remove it.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/pci_rom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c index 49c118d..37450c8 100644 --- a/drivers/pci/pci_rom.c +++ b/drivers/pci/pci_rom.c @@ -139,7 +139,7 @@ static int pci_rom_probe(pci_dev_t dev, uint class, return 0; } -int pci_rom_load(uint16_t class, struct pci_rom_header *rom_header, +int pci_rom_load(struct pci_rom_header *rom_header, struct pci_rom_header **ram_headerp) { struct pci_rom_data *rom_data; @@ -253,7 +253,7 @@ int pci_run_vga_bios(pci_dev_t dev, int (*int15_handler)(void), int exec_method) if (ret) return ret; - ret = pci_rom_load(class, rom, &ram); + ret = pci_rom_load(rom, &ram); if (ret) return ret; |