diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-23 15:57:13 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-03-06 11:39:57 +0000 |
commit | 6fefdfd106baff0cc74551e14d6344408271524a (patch) | |
tree | 9c85221dbfdd15c471b44e1c10ba964156775672 /src/include/device | |
parent | e459a89f0f30e705c35855d49f62b67d87092f18 (diff) | |
download | coreboot-6fefdfd106baff0cc74551e14d6344408271524a.tar.xz |
device/pci_ops: Simplify logic for PCI bus ops
Nobody ever sets ops_pci_bus. This implies pci_bus_ops() always
returns pci_bus_default_ops() and get_pbus returns NULL.
Change-Id: Ia30d579e1efe6542dc58714f2e7077507847c0de
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31684
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/device')
-rw-r--r-- | src/include/device/device.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index 3b38322fcc..4c6706489a 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -68,7 +68,6 @@ struct device_operations { const struct i2c_bus_operations *ops_i2c_bus; const struct spi_bus_operations *ops_spi_bus; const struct smbus_bus_operations *ops_smbus_bus; - const struct pci_bus_operations * (*ops_pci_bus)(struct device *dev); const struct pnp_mode_ops *ops_pnp_mode; }; |