diff options
author | Brian Norris <briannorris@chromium.org> | 2017-03-27 20:46:14 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-04-04 13:02:57 -0400 |
commit | 0b131b139467db844874f31b46bb638b541d9d3f (patch) | |
tree | 62dd6ad1dd01bfa78e974343a77770a06cf4b3c6 | |
parent | 41334f54a43ab00cbb294e6a08d0f57068f43025 (diff) |
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>
-rw-r--r-- | drivers/pci/access.c | 2 |
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) | |||
629 | * | 629 | * |
630 | * When access is locked, any userspace reads or writes to config | 630 | * When access is locked, any userspace reads or writes to config |
631 | * space and concurrent lock requests will sleep until access is | 631 | * space and concurrent lock requests will sleep until access is |
632 | * allowed via pci_cfg_access_unlocked again. | 632 | * allowed via pci_cfg_access_unlock() again. |
633 | */ | 633 | */ |
634 | void pci_cfg_access_lock(struct pci_dev *dev) | 634 | void pci_cfg_access_lock(struct pci_dev *dev) |
635 | { | 635 | { |