summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2020-12-16 21:20:26 -0700
committerSimon Glass <[email protected]>2020-12-18 20:32:21 -0700
commit981426e350801f2de93f385a371270f27dfeeb14 (patch)
treeb0819e0a28e619c7679c0ba1aa39bf9fa4c1f355 /include
parent3bc90aa7438ea88721684f9ab7e1735df29f5171 (diff)
dm: Switch over to use new sequence number for dev_seq()
Update this function to use the new sequence number and fix up the test that deals with this. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/dm/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/device.h b/include/dm/device.h
index 725e313eacd..15731d6c270 100644
--- a/include/dm/device.h
+++ b/include/dm/device.h
@@ -192,7 +192,7 @@ static inline bool dev_has_of_node(struct udevice *dev)
static inline int dev_seq(const struct udevice *dev)
{
- return dev->seq;
+ return dev->sqq;
}
/**