diff mbox

drivers: pci: pci.c: Fix a warning on make htmldocs

Message ID alpine.DEB.2.02.1108161552120.10249@odin (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Marcos Aug. 16, 2011, 7 p.m. UTC
The fucntion pcie_set_mps has a parameter called mps, and this parameter
was not documented. Instead, the documentation was about the rq parameter.
Changing rq to mps on the documentation fix this warning.

Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
---
 drivers/pci/pci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 466fad6..1b78afe 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -3250,8 +3250,8 @@  int pcie_get_mps(struct pci_dev *dev)
 /**
  * pcie_set_mps - set PCI Express maximum payload size
  * @dev: PCI device to query
- * @rq: maximum payload size in bytes
- *    valid values are 128, 256, 512, 1024, 2048, 4096
+ * @mps: maximum payload size in bytes
+ *	valid values are 128, 256, 512, 1024, 2048, 4096
  *
  * If possible sets maximum payload size
  */