rename CFG_ macros to CONFIG_SYS
[oweals/u-boot.git] / drivers / hwmon / adm1021.c
index b791ec0415b1e9254988e5b140067524daf3d34c..d753e9a72f778d5fbc03233ee382bcf7e2be12db 100644 (file)
@@ -81,7 +81,7 @@ typedef
        }
 dtt_cfg_t;
 
-dtt_cfg_t dttcfg[] = CFG_DTT_ADM1021;
+dtt_cfg_t dttcfg[] = CONFIG_SYS_DTT_ADM1021;
 
 int
 dtt_read (int sensor, int reg)
@@ -174,7 +174,7 @@ dtt_init (void)
        const char *const header = "DTT:   ";
 
        /* switch to correct I2C bus */
-       I2C_SET_BUS(CFG_DTT_BUS_NUM);
+       I2C_SET_BUS(CONFIG_SYS_DTT_BUS_NUM);
 
        for (i = 0; i < sizeof(sensors); i++) {
                if (_dtt_init(sensors[i]) != 0)