summaryrefslogtreecommitdiffstats
path: root/cmd/i2c.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-16 21:20:31 -0700
committerSimon Glass <sjg@chromium.org>2020-12-18 20:32:21 -0700
commit36c03d183041e57714a909f6d020ac10ef279e3b (patch)
treec938aafffd85a255b583539f707162f4ae9dabab /cmd/i2c.c
parenta133e2179a729036e7750b497c1c38f9f6a3a835 (diff)
downloadu-boot-36c03d183041e57714a909f6d020ac10ef279e3b.tar.gz
u-boot-36c03d183041e57714a909f6d020ac10ef279e3b.tar.xz
u-boot-36c03d183041e57714a909f6d020ac10ef279e3b.zip
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/i2c.c')
-rw-r--r--cmd/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/i2c.c b/cmd/i2c.c
index ac38455001..aae2dd41fe 100644
--- a/cmd/i2c.c
+++ b/cmd/i2c.c
@@ -1700,7 +1700,7 @@ static void show_bus(struct udevice *bus)
{
struct udevice *dev;
- printf("Bus %d:\t%s", bus->req_seq, bus->name);
+ printf("Bus %d:\t%s", dev_seq(bus), bus->name);
if (device_active(bus))
printf(" (active %d)", dev_seq(bus));
printf("\n");