aboutsummaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-16 21:20:26 -0700
committerSimon Glass <sjg@chromium.org>2020-12-18 20:32:21 -0700
commit981426e350801f2de93f385a371270f27dfeeb14 (patch)
treeb0819e0a28e619c7679c0ba1aa39bf9fa4c1f355 /include/dm
parent3bc90aa7438ea88721684f9ab7e1735df29f5171 (diff)
downloadu-boot-981426e350801f2de93f385a371270f27dfeeb14.zip
u-boot-981426e350801f2de93f385a371270f27dfeeb14.tar.gz
u-boot-981426e350801f2de93f385a371270f27dfeeb14.tar.bz2
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 <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-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 725e313..15731d6 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;
}
/**