tty: propagate u8 data to tty_operations::put_char()
[linux-2.6-microblaze.git] / arch / m68k / emu / nfcon.c
index e7a2123..87398f8 100644 (file)
@@ -76,9 +76,9 @@ static int nfcon_tty_write(struct tty_struct *tty, const u8 *buf, int count)
        return count;
 }
 
-static int nfcon_tty_put_char(struct tty_struct *tty, unsigned char ch)
+static int nfcon_tty_put_char(struct tty_struct *tty, u8 ch)
 {
-       char temp[2] = { ch, 0 };
+       u8 temp[2] = { ch, 0 };
 
        nf_call(stderr_id, virt_to_phys(temp));
        return 1;