summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-08-01 17:05:27 +0400
committerBjorn Helgaas <bhelgaas@google.com>2013-08-01 20:55:52 +0400
commitce1be10bf6dc8406ae773f0ac6265585a4154d37 (patch)
tree2d401b2d0843da87dae4c08a48407aaec5e8fb03 /drivers/pci
parent652d1100453a14bcc2b4514af79c701360836085 (diff)
downloadlinux-ce1be10bf6dc8406ae773f0ac6265585a4154d37.tar.xz
PCI: Fix comment typo for pci_add_cap_save_buffer()
Fix trivial comment typo for pci_add_cap_save_buffer(). Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index e37fea6e178d..69dcd32e0fe8 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1992,7 +1992,7 @@ static void pci_add_saved_cap(struct pci_dev *pci_dev,
}
/**
- * pci_add_save_buffer - allocate buffer for saving given capability registers
+ * pci_add_cap_save_buffer - allocate buffer for saving given capability registers
* @dev: the PCI device
* @cap: the capability to allocate the buffer for
* @size: requested size of the buffer