summaryrefslogtreecommitdiff
path: root/common/cmd_dtt.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_dtt.c')
-rw-r--r--common/cmd_dtt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_dtt.c b/common/cmd_dtt.c
index 956dc69daec..c5b1d4d8fd2 100644
--- a/common/cmd_dtt.c
+++ b/common/cmd_dtt.c
@@ -36,7 +36,7 @@ int do_dtt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
/* switch to correct I2C bus */
old_bus = I2C_GET_BUS();
- I2C_SET_BUS(CFG_DTT_BUS_NUM);
+ I2C_SET_BUS(CONFIG_SYS_DTT_BUS_NUM);
/*
* Loop through sensors, read