diff options
author | Furquan Shaikh <furquan@google.com> | 2018-05-31 11:03:17 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2018-06-05 20:58:16 +0000 |
commit | b72ab9e4d7af47749e4f9c27074e782d934848d9 (patch) | |
tree | b1f2b91f4b1d3e0c3687796a701e4ef1d26254e6 /util/sconfig/sconfig.h | |
parent | c56ae2ffa16fe0590af015add99354cf34f68a9b (diff) |
util/sconfig: Get rid of nextdev member in struct device
Now that chips and devices are treated differently and the device tree
actually contains only devices, next and nextdev are exactly the same
for all devices in the tree. This change gets rid of nextdev pointer
and updates all uses of nextdev to next.
BUG=b:80081934
TEST=Verified that static.c generated for all boards built by abuild
is same with and without this change.
Change-Id: Ie50b3d769a78fe0beddba2e5551441b43cb212a2
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/26741
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/sconfig/sconfig.h')
-rw-r--r-- | util/sconfig/sconfig.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/util/sconfig/sconfig.h b/util/sconfig/sconfig.h index 960facd7b1..2bb816d5ef 100644 --- a/util/sconfig/sconfig.h +++ b/util/sconfig/sconfig.h @@ -98,7 +98,6 @@ struct device { struct device *parent; struct device *next; - struct device *nextdev; struct device *children; struct device *latestchild; struct device *next_sibling; |