PCI: Export pci_dev_trylock() and pci_dev_unlock()
authorLuis Chamberlain <mcgrof@kernel.org>
Wed, 23 Jun 2021 02:28:23 +0000 (19:28 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 24 Jun 2021 19:32:31 +0000 (13:32 -0600)
commite3a9b1212b9d6cb20751196e338f4a5138d539d3
tree88daa90a1b7f8af30010d12af9ca09dff5163ca5
parent0af5160edb87b1868eba514422d3991628a018f8
PCI: Export pci_dev_trylock() and pci_dev_unlock()

Other places in the kernel use this form, and so just
provide a common path for it.

Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Link: https://lore.kernel.org/r/20210623022824.308041-2-mcgrof@kernel.org
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/pci/pci.c
include/linux/pci.h