diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-23 15:57:49 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-03 13:45:27 +0000 |
commit | 78d14326987547f7ae8b2a5b200cb1f3fba0fb31 (patch) | |
tree | 48482d422c4cfc948c50567f4d1c5f89780ede95 /src/arch/x86 | |
parent | 00ad8dfa181e627cbf566c575d1b95ffc7e435af (diff) |
device/pci_ops: Drop parameter from pci_bus_default_ops()
A default is a build-time static value, fallback. Return
value does not depend of input parameter.
Change-Id: I43ae28f465fb46391519ec97a2a50891d458c46d
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/31679
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/pci_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/pci_ops.c b/src/arch/x86/pci_ops.c index 82f9fd2644..f30bffe320 100644 --- a/src/arch/x86/pci_ops.c +++ b/src/arch/x86/pci_ops.c @@ -16,7 +16,7 @@ #include <device/device.h> #include <device/pci_ops.h> -const struct pci_bus_operations *pci_bus_default_ops(struct device *dev) +const struct pci_bus_operations *pci_bus_default_ops(void) { return &pci_cf8_conf1; } |