diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-08-26 20:53:42 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-08-31 16:04:05 -0500 |
commit | a61590892ef097c180144fa469abe2256b9ae715 (patch) | |
tree | 141ad541c74417c0e54784f22c715e867ae0d3ee /include | |
parent | 890317950fcaafbc16372d1b9855bcadf0fc5843 (diff) | |
download | linux-stable-a61590892ef097c180144fa469abe2256b9ae715.tar.gz linux-stable-a61590892ef097c180144fa469abe2256b9ae715.tar.bz2 linux-stable-a61590892ef097c180144fa469abe2256b9ae715.zip |
PCI/VPD: Stop exporting pci_vpd_find_tag()
Now that the last users have been migrated to pci_vpd_find_ro_keyword()
we can stop exporting this function. It's still used in VPD core code.
Link: https://lore.kernel.org/r/71131eca-0502-7878-365f-30b6614161cf@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pci.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 827b7eefd550..4fb233e374c5 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -2340,17 +2340,6 @@ static inline u8 pci_vpd_info_field_size(const u8 *info_field) void *pci_vpd_alloc(struct pci_dev *dev, unsigned int *size); /** - * pci_vpd_find_tag - Locates the Resource Data Type tag provided - * @buf: Pointer to buffered vpd data - * @len: The length of the vpd buffer - * @rdt: The Resource Data Type to search for - * - * Returns the index where the Resource Data Type was found or - * -ENOENT otherwise. - */ -int pci_vpd_find_tag(const u8 *buf, unsigned int len, u8 rdt); - -/** * pci_vpd_find_info_keyword - Locates an information field keyword in the VPD * @buf: Pointer to buffered vpd data * @off: The offset into the buffer at which to begin the search |