diff options
author | Simon Glass | 2020-12-16 21:20:31 -0700 |
---|---|---|
committer | Simon Glass | 2020-12-18 20:32:21 -0700 |
commit | 36c03d183041e57714a909f6d020ac10ef279e3b (patch) | |
tree | c938aafffd85a255b583539f707162f4ae9dabab /cmd/osd.c | |
parent | a133e2179a729036e7750b497c1c38f9f6a3a835 (diff) |
cmd: Drop use of old sequence numbers in commands
Several commands use sequence numbers. Update them to use the new ones.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/osd.c')
-rw-r--r-- | cmd/osd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/osd.c b/cmd/osd.c index 9b8fd5c921e..703d640b04e 100644 --- a/cmd/osd.c +++ b/cmd/osd.c @@ -75,9 +75,9 @@ static int osd_get_osd_cur(struct udevice **osdp) */ static void show_osd(struct udevice *osd) { - printf("OSD %d:\t%s", osd->req_seq, osd->name); + printf("OSD %d:\t%s", dev_seq(osd), osd->name); if (device_active(osd)) - printf(" (active %d)", dev_seq(osd)); + printf(" (active)"); printf("\n"); } |