summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-04 21:39:28 +0300
committerPatrick Georgi <pgeorgi@google.com>2019-07-12 08:52:22 +0000
commitc19d6a6ce59873f2326b14bb4af69048cceb9300 (patch)
tree78551a45b39443b50fc87c2d34729656d69ee04c /src/include
parent8da51ca2c36f9219a91a48540e673fbd04753345 (diff)
device/pci: Replace use of dev_find_slot() for IRQs
Change-Id: I48c0de73338430282ce1a4442bbeb7c867dc174c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34079 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/pci.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/device/pci.h b/src/include/device/pci.h
index 5f72b55cff..c08b30af6f 100644
--- a/src/include/device/pci.h
+++ b/src/include/device/pci.h
@@ -98,8 +98,7 @@ unsigned int pci_match_simple_dev(struct device *dev, pci_devfn_t sdev);
const char *pin_to_str(int pin);
int get_pci_irq_pins(struct device *dev, struct device **parent_bdg);
-void pci_assign_irqs(unsigned int bus, unsigned int slot,
- const unsigned char pIntAtoD[4]);
+void pci_assign_irqs(struct device *dev, const unsigned char pIntAtoD[4]);
const char *get_pci_class_name(struct device *dev);
const char *get_pci_subclass_name(struct device *dev);