]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_date.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / common / cmd_date.c
index d6cd565adf2cf52f9e9019b38b8957c72202c5f6..b4d9649bddea8de360049da09672badc282a4633 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 */