浏览代码

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>
Yijing Wang 12 年之前
父节点
当前提交
ce1be10bf6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/pci/pci.c

+ 1 - 1
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
  * @dev: the PCI device
  * @cap: the capability to allocate the buffer for
  * @cap: the capability to allocate the buffer for
  * @size: requested size of the buffer
  * @size: requested size of the buffer