mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
cea7c0956a
commit
fae2c16ede
2 changed files with 0 additions and 15 deletions
|
@ -1490,13 +1490,6 @@ int dm_pci_find_class(uint find_class, int index, struct udevice **devp);
|
|||
* struct dm_pci_emul_ops - PCI device emulator operations
|
||||
*/
|
||||
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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue