rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git] / common / cmd_date.c
index d6cd565..b4d9649 100644 (file)
@@ -47,7 +47,7 @@ int do_date (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 
        /* switch to correct I2C bus */
        old_bus = I2C_GET_BUS();
-       I2C_SET_BUS(CFG_RTC_BUS_NUM);
+       I2C_SET_BUS(CONFIG_SYS_RTC_BUS_NUM);
 
        switch (argc) {
        case 2:                 /* set date & time */