From bd585fa89f9d0abf9c15e1495b1b3b925504456d Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Wed, 3 Jul 2019 07:51:43 +0300 Subject: device/pci: Reduce scope of dev_find_slot() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We only keep it around because soc/intel debugging still depends on it. Change-Id: I3ea37c097bbcc3cf5c0574c7d727eae4f5bee307 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/34084 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/include/device/device.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/include/device') diff --git a/src/include/device/device.h b/src/include/device/device.h index b1c1651ec9..abcd0a453a 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -306,7 +306,6 @@ DEVTREE_CONST struct bus *pci_root_bus(void); * devices in all_devices singly-linked list as well as the time * when this function is called (secondary reflecting topology). */ -DEVTREE_CONST struct device *dev_find_slot(unsigned int bus, unsigned int devfn); DEVTREE_CONST struct device *pcidev_path_on_root_debug(pci_devfn_t devfn, const char *func); /* Robust discovery of chip_info. */ -- cgit v1.2.3