]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/hwmon/lm73.c
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / drivers / hwmon / lm73.c
index dd246835362040cc365217d33bb5e88d84050e1c..7b5d893ff26447f1d7de3ac5aacef40cf8f1c3da 100644 (file)
@@ -124,11 +124,11 @@ static int _dtt_init(int const sensor)
        /*
         * Setup THIGH (upper-limit) and TLOW (lower-limit) registers
         */
-       val = CFG_DTT_MAX_TEMP << 7;
+       val = CONFIG_SYS_DTT_MAX_TEMP << 7;
        if (dtt_write(sensor, DTT_TEMP_HIGH, val))
                return -1;
 
-       val = CFG_DTT_MIN_TEMP << 7;
+       val = CONFIG_SYS_DTT_MIN_TEMP << 7;
        if (dtt_write(sensor, DTT_TEMP_LOW, val))
                return -1;
        /*