From 32bc6b6b8425e800d18f4fb8a34aa5badb1cd329 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 4 Jan 2015 16:54:35 -0700 Subject: doxygen fixes: fix parameter names to match the functions The doxygen parameter names in the comments no longer matched the functions they were attached to. Doxygen complains about extra parameter comments and uncommented parameters in the functions. Change-Id: I21b8a951f8d8d04b07c3779000eeaf1e69fed463 Signed-off-by: Martin Roth Reviewed-on: http://review.coreboot.org/8101 Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- src/device/device.c | 2 +- src/device/pci_device.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/device') diff --git a/src/device/device.c b/src/device/device.c index e068cee044..00e323a668 100644 --- a/src/device/device.c +++ b/src/device/device.c @@ -179,7 +179,7 @@ device_t alloc_find_dev(struct bus *parent, struct device_path *path) * Round a number up to an alignment. * * @param val The starting value. - * @param roundup Alignment as a power of two. + * @param pow Alignment as a power of two. * @return Rounded up number. */ static resource_t round(resource_t val, unsigned long pow) diff --git a/src/device/pci_device.c b/src/device/pci_device.c index 8351e9ca63..22454d631f 100644 --- a/src/device/pci_device.c +++ b/src/device/pci_device.c @@ -1321,7 +1321,7 @@ const char *pin_to_str(int pin) * device. In this case, this function will return 4 (PIN D). * * @param dev A PCI device structure to swizzle interrupt pins for - * @param *parent_bdg The PCI device structure for the bridge + * @param *parent_bridge The PCI device structure for the bridge * device 'dev' is attached to * @return The interrupt pin number (1 - 4) that 'dev' will * trigger when generating an interrupt -- cgit v1.2.3