]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
PCI: fix new kernel-doc warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 26 May 2011 02:21:25 +0000 (19:21 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 1 Jun 2011 18:43:29 +0000 (11:43 -0700)
Fix pci.c kernel-doc warnings:

Warning(drivers/pci/pci.c:3292): No description found for parameter 'flags'
Warning(drivers/pci/pci.c:3292): Excess function parameter 'change_bridge_flags' description in 'pci_set_vga_state'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.c

index 56098b3e17c054a678253c028221610dc17f3ff5..e43a7bbeb28f8fb298b137c725e11c2a393ad274 100644 (file)
@@ -3284,7 +3284,7 @@ static int pci_set_vga_state_arch(struct pci_dev *dev, bool decode,
  * @dev: the PCI device
  * @decode: true = enable decoding, false = disable decoding
  * @command_bits: PCI_COMMAND_IO and/or PCI_COMMAND_MEMORY
- * @change_bridge_flags: traverse ancestors and change bridges
+ * @flags: traverse ancestors and change bridges
  * CHANGE_BRIDGE_ONLY / CHANGE_BRIDGE
  */
 int pci_set_vga_state(struct pci_dev *dev, bool decode,