]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_load.c
net: cosmetic: Clean up CDP variables and functions
[karo-tx-uboot.git] / common / cmd_load.c
index f6e522cbb3482bf48eeae51cfe0d2e1467404de3..d043e6d7bcf2d6368ead958a89574720ce6c37d4 100644 (file)
@@ -222,7 +222,7 @@ static int read_record(char *buf, ulong len)
                }
 
            /* Check for the console hangup (if any different from serial) */
-           if (gd->jt[XF_getc] != getc) {
+           if (gd->jt->getc != getc) {
                if (ctrlc()) {
                    return (-1);
                }