This field is not being used in Barebox. Drop it. Reviewed-by: Sam Ravnborg <sam@xxxxxxxxxxxx> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> --- drivers/pci/pci.c | 7 ------- include/linux/pci.h | 1 - 2 files changed, 8 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index a52475e6ab..8d4d4224e6 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -407,13 +407,6 @@ static unsigned int pci_scan_bus(struct pci_bus *bus) if (class == PCI_CLASS_BRIDGE_PCI) goto bad; - /* - * read base address registers, again pcibios_fixup() can - * tweak these - */ - pci_read_config_dword(dev, PCI_ROM_ADDRESS, &l); - dev->rom_address = (l == 0xffffffff) ? 0 : l; - setup_device(dev, 6); break; case PCI_HEADER_TYPE_BRIDGE: diff --git a/include/linux/pci.h b/include/linux/pci.h index b609a1330b..2c7acbdda9 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -112,7 +112,6 @@ struct pci_dev { * pcibios_fixup() as necessary. */ unsigned long base_address[6]; - unsigned long rom_address; }; #define to_pci_dev(dev) container_of(dev, struct pci_dev, dev) -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox