summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2010-09-01 21:03:03 +0000
committerMyles Watson <mylesgw@gmail.com>2010-09-01 21:03:03 +0000
commit70679a095a9f9dde910d5944688f80d2ee4db6b4 (patch)
treef22655f3fe3fa6d4e40b7d4b143525238f7accf8 /util
parentc3fad5633b8b17dc15c56733188fd27aa02589d9 (diff)
downloadcoreboot-70679a095a9f9dde910d5944688f80d2ee4db6b4.tar.xz
Simplify last_dev_p so that it matches comments.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5763 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rwxr-xr-xutil/sconfig/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sconfig/main.c b/util/sconfig/main.c
index 4abfd2c3bb..a3994fbdcd 100755
--- a/util/sconfig/main.c
+++ b/util/sconfig/main.c
@@ -446,7 +446,7 @@ int main(int argc, char** argv) {
}
fprintf(staticc, "\n/* pass 0 */\n");
walk_device_tree(staticc, &root, pass0, NULL);
- fprintf(staticc, "\n/* pass 1 */\nstruct mainboard_config mainboard_info_0;\nstruct device **last_dev_p = &%s.next;\n", lastdev->name);
+ fprintf(staticc, "\n/* pass 1 */\nstruct mainboard_config mainboard_info_0;\nstruct device *last_dev = &%s;\n", lastdev->name);
walk_device_tree(staticc, &root, pass1, NULL);
fclose(staticc);