summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2017-03-28 02:46:14 +0200
committerBjorn Helgaas <bhelgaas@google.com>2017-04-04 19:02:57 +0200
commit0b131b139467db844874f31b46bb638b541d9d3f (patch)
tree62dd6ad1dd01bfa78e974343a77770a06cf4b3c6 /drivers/pci
parentPCI: Include pci.h for struct pci_ops definition (diff)
downloadlinux-0b131b139467db844874f31b46bb638b541d9d3f.tar.xz
linux-0b131b139467db844874f31b46bb638b541d9d3f.zip
PCI: Fix typo pci_cfg_access_lock() comment
There is no pci_cfg_access_unlocked(). I think the author meant pci_cfg_access_unlock(). Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/access.c b/drivers/pci/access.c
index 8b7382705bf2..5b7842b03571 100644
--- a/drivers/pci/access.c
+++ b/drivers/pci/access.c
@@ -629,7 +629,7 @@ void pci_vpd_release(struct pci_dev *dev)
*
* When access is locked, any userspace reads or writes to config
* space and concurrent lock requests will sleep until access is
- * allowed via pci_cfg_access_unlocked again.
+ * allowed via pci_cfg_access_unlock() again.
*/
void pci_cfg_access_lock(struct pci_dev *dev)
{