From 96643455864a961881a3b2c4922ea76c3a5b4d20 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Wed, 28 Jan 2015 22:03:46 +0200 Subject: devicetree: Search PnP device node from the tree by path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Copied from device_util.c with added ROMSTAGE_CONST. Change-Id: If872631ed96a79b9a0b15e09382d6f81098c8db3 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/8297 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Alexandru Gagniuc --- src/include/device/device.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/device') diff --git a/src/include/device/device.h b/src/include/device/device.h index c67205cae7..30226bf7df 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -261,6 +261,7 @@ ROMSTAGE_CONST struct device *dev_find_next_pci_device( ROMSTAGE_CONST struct device *previous_dev); ROMSTAGE_CONST struct device * dev_find_slot_on_smbus (unsigned int bus, unsigned int addr); +ROMSTAGE_CONST struct device * dev_find_slot_pnp(u16 port, u16 device); #endif -- cgit v1.2.3