PCI: Fix comment typo for pci_add_cap_save_buffer()
authorYijing Wang <wangyijing@huawei.com>
Thu, 1 Aug 2013 13:05:27 +0000 (21:05 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 1 Aug 2013 16:55:52 +0000 (10:55 -0600)
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>
drivers/pci/pci.c

index e37fea6e178d2dab00d3334848d231117d525013..69dcd32e0fe8a7037af4ecc7e1a7f4b8fbe7c08b 100644 (file)
@@ -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