summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-08-01 13:05:27 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2013-08-01 16:55:52 (GMT)
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 e37fea6..69dcd32 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