summaryrefslogtreecommitdiff
path: root/util/sconfig/sconfig.h
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2018-05-31 11:03:17 -0700
committerFurquan Shaikh <furquan@google.com>2018-06-05 20:58:16 +0000
commitb72ab9e4d7af47749e4f9c27074e782d934848d9 (patch)
treeb1f2b91f4b1d3e0c3687796a701e4ef1d26254e6 /util/sconfig/sconfig.h
parentc56ae2ffa16fe0590af015add99354cf34f68a9b (diff)
downloadcoreboot-b72ab9e4d7af47749e4f9c27074e782d934848d9.tar.xz
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.h1
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;