]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/inka4x0/inka4x0.c
Merge branch 'master' of git://git.denx.de/u-boot-samsung
[karo-tx-uboot.git] / board / inka4x0 / inka4x0.c
index 27b79ec7f48a88189818c21caf1b72561ce746b7..fc498d69ea12a465ce90459cb4472717a6b5a904 100644 (file)
@@ -187,7 +187,7 @@ int misc_init_f (void)
        char tmp[10];
        int i, br;
 
-       i = getenv_r("brightness", tmp, sizeof(tmp));
+       i = getenv_f("brightness", tmp, sizeof(tmp));
        br = (i > 0)
                ? (int) simple_strtoul (tmp, NULL, 10)
                : CONFIG_SYS_BRIGHTNESS;