diff options
Diffstat (limited to 'util/sconfig/main.c')
-rwxr-xr-x | util/sconfig/main.c | 2 |
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); |