]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/input/input.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / drivers / input / input.c
index 011667fedda4269a26dedfa8b1f83a9486086519..26da3a95ff02f1775be22f438a76355f277438e9 100644 (file)
@@ -652,7 +652,7 @@ int input_stdio_register(struct stdio_dev *dev)
        error = stdio_register(dev);
 
        /* check if this is the standard input device */
-       if (!error && strcmp(getenv("stdin"), dev->name) == 0) {
+       if (!error && strcmp(env_get("stdin"), dev->name) == 0) {
                /* reassign the console */
                if (OVERWRITE_CONSOLE ||
                                console_assign(stdin, dev->name))