summaryrefslogtreecommitdiff
path: root/include/pci.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-09-25 08:56:04 -0600
committerBin Meng <bmeng.cn@gmail.com>2019-10-08 13:57:40 +0800
commitfae2c16ede7bf00c8f7873a96fc2b34d5345d751 (patch)
tree6cd1d6eefcec4403125dcfee011a899670a46b43 /include/pci.h
parentcea7c0956ac2134e67f9d93bd96b2f2b4b85b430 (diff)
sandbox: pci: Drop the get_devfn() method
This method is not used anymore since the bus/device/function of PCI devices can be obtained from their (parent's per-child) platform data. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/pci.h')
-rw-r--r--include/pci.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/pci.h b/include/pci.h
index 298d0d4355..999a594cdd 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -1491,13 +1491,6 @@ int dm_pci_find_class(uint find_class, int index, struct udevice **devp);
*/
struct dm_pci_emul_ops {
/**
- * get_devfn(): Check which device and function this emulators
- *
- * @dev: device to check
- * @return the device and function this emulates, or -ve on error
- */
- int (*get_devfn)(struct udevice *dev);
- /**
* read_config() - Read a PCI configuration value
*
* @dev: Emulated device to read from