Remove warnings from compilation of the s2892 with and without CBFS.
[coreboot.git] / src / pc80 / keyboard.c
index 4009a4502db53b6f442205c66167f826262d96c4..325e2eabca45d7e4be009d8a596d7a7aa5d30614 100644 (file)
@@ -112,11 +112,11 @@ static void pc_keyboard_init(struct pc_keyboard *keyboard)
                outb(0x60, 0x64);
                if (!kbc_input_buffer_empty()) return;
                outb(0x20, 0x60);       /* send cmd: enable keyboard and IRQ 1 */
-               u8 resend = 10;
+               u8 broken_resend = 10;
                if ((inb(0x64) & 0x01)) {
                        regval = inb(0x60);
                }
-               --resend;
+               --broken_resend;
        } while (regval == 0xFE && resend > 0);
 
        /* clean up any junk that might have been in the keyboard */