aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-08-01 09:05:27 -0400
committerBjorn Helgaas <bhelgaas@google.com>2013-08-01 12:55:52 -0400
commitce1be10bf6dc8406ae773f0ac6265585a4154d37 (patch)
tree2d401b2d0843da87dae4c08a48407aaec5e8fb03
parent652d1100453a14bcc2b4514af79c701360836085 (diff)
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>
-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,
1992} 1992}
1993 1993
1994/** 1994/**
1995 * pci_add_save_buffer - allocate buffer for saving given capability registers 1995 * pci_add_cap_save_buffer - allocate buffer for saving given capability registers
1996 * @dev: the PCI device 1996 * @dev: the PCI device
1997 * @cap: the capability to allocate the buffer for 1997 * @cap: the capability to allocate the buffer for
1998 * @size: requested size of the buffer 1998 * @size: requested size of the buffer