aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWanpeng Li <liwp@linux.vnet.ibm.com>2012-06-11 15:04:27 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-07-03 00:14:49 -0400
commitf0a875fd3f7028af904b3a60347693812abd2aad (patch)
tree77da1a1f9c0665db94bcd344a1fca9b5cc36d5e4
parenta5cb82da786f610f7e84a0a8bcf9e0218c363040 (diff)
powerpc: Fix kernel-doc warning
Warning(arch/powerpc/kernel/pci_of_scan.c:210): Excess function parameter 'node' description in 'of_scan_pci_bridge' Warning(arch/powerpc/kernel/vio.c:636): No description found for parameter 'desired' Warning(arch/powerpc/kernel/vio.c:636): Excess function parameter 'new_desired' description in 'vio_cmo_set_dev_desired' Warning(arch/powerpc/kernel/vio.c:1270): No description found for parameter 'viodrv' Warning(arch/powerpc/kernel/vio.c:1270): Excess function parameter 'drv' description in '__vio_register_driver' Warning(arch/powerpc/kernel/vio.c:1289): No description found for parameter 'viodrv' Warning(arch/powerpc/kernel/vio.c:1289): Excess function parameter 'driver' description in 'vio_unregister_driver' Signed-off-by: Wanpeng Li <liwp@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r--arch/powerpc/kernel/pci_of_scan.c1
-rw-r--r--arch/powerpc/kernel/vio.c6
2 files changed, 3 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/pci_of_scan.c b/arch/powerpc/kernel/pci_of_scan.c
index 89dde171a6fa..d7dd42bd1452 100644
--- a/arch/powerpc/kernel/pci_of_scan.c
+++ b/arch/powerpc/kernel/pci_of_scan.c
@@ -198,7 +198,6 @@ EXPORT_SYMBOL(of_create_pci_dev);
198 198
199/** 199/**
200 * of_scan_pci_bridge - Set up a PCI bridge and scan for child nodes 200 * of_scan_pci_bridge - Set up a PCI bridge and scan for child nodes
201 * @node: device tree node of bridge
202 * @dev: pci_dev structure for the bridge 201 * @dev: pci_dev structure for the bridge
203 * 202 *
204 * of_scan_bus() calls this routine for each PCI bridge that it finds, and 203 * of_scan_bus() calls this routine for each PCI bridge that it finds, and
diff --git a/arch/powerpc/kernel/vio.c b/arch/powerpc/kernel/vio.c
index cb87301ccd55..06cbc309b817 100644
--- a/arch/powerpc/kernel/vio.c
+++ b/arch/powerpc/kernel/vio.c
@@ -625,7 +625,7 @@ struct dma_map_ops vio_dma_mapping_ops = {
625 * vio_cmo_set_dev_desired - Set desired entitlement for a device 625 * vio_cmo_set_dev_desired - Set desired entitlement for a device
626 * 626 *
627 * @viodev: struct vio_dev for device to alter 627 * @viodev: struct vio_dev for device to alter
628 * @new_desired: new desired entitlement level in bytes 628 * @desired: new desired entitlement level in bytes
629 * 629 *
630 * For use by devices to request a change to their entitlement at runtime or 630 * For use by devices to request a change to their entitlement at runtime or
631 * through sysfs. The desired entitlement level is changed and a balancing 631 * through sysfs. The desired entitlement level is changed and a balancing
@@ -1262,7 +1262,7 @@ static int vio_bus_remove(struct device *dev)
1262 1262
1263/** 1263/**
1264 * vio_register_driver: - Register a new vio driver 1264 * vio_register_driver: - Register a new vio driver
1265 * @drv: The vio_driver structure to be registered. 1265 * @viodrv: The vio_driver structure to be registered.
1266 */ 1266 */
1267int __vio_register_driver(struct vio_driver *viodrv, struct module *owner, 1267int __vio_register_driver(struct vio_driver *viodrv, struct module *owner,
1268 const char *mod_name) 1268 const char *mod_name)
@@ -1282,7 +1282,7 @@ EXPORT_SYMBOL(__vio_register_driver);
1282 1282
1283/** 1283/**
1284 * vio_unregister_driver - Remove registration of vio driver. 1284 * vio_unregister_driver - Remove registration of vio driver.
1285 * @driver: The vio_driver struct to be removed form registration 1285 * @viodrv: The vio_driver struct to be removed form registration
1286 */ 1286 */
1287void vio_unregister_driver(struct vio_driver *viodrv) 1287void vio_unregister_driver(struct vio_driver *viodrv)
1288{ 1288{