diff options
author | Li-Ta Lo <ollie@lanl.gov> | 2004-03-23 21:28:05 +0000 |
---|---|---|
committer | Li-Ta Lo <ollie@lanl.gov> | 2004-03-23 21:28:05 +0000 |
commit | e52666931a3e34895b3f3b92641de9774ab722ec (patch) | |
tree | 890bb66a0a16ec7a57230283f000ee91eeb0b384 /src/devices/device_util.c | |
parent | 9f46132e9627d24f3ad76619cf3340006a4012fb (diff) | |
download | coreboot-e52666931a3e34895b3f3b92641de9774ab722ec.tar.xz |
Doxidization, reformat
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1469 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/device_util.c')
-rw-r--r-- | src/devices/device_util.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/device_util.c b/src/devices/device_util.c index 013501474c..29bb539e1d 100644 --- a/src/devices/device_util.c +++ b/src/devices/device_util.c @@ -6,15 +6,16 @@ /** - * See if a device structure already exists and if not allocate it + * @brief See if a device structure already exists and if not allocate it + * * @param bus The bus to find the device on * @param path The relative path from the bus to the appropriate device - * @return pointer a device structure for the device on bus at path + * @return pointer to a device structure for the device on bus at path */ device_t alloc_find_dev(struct bus *parent, struct device_path *path) { device_t child; - for(child = parent->children; child; child = child->sibling) { + for (child = parent->children; child; child = child->sibling) { if (path_eq(path, &child->path)) { return child; } |