tty: propagate u8 data to tty_operations::write()
[linux-2.6-microblaze.git] / drivers / staging / gdm724x / gdm_tty.c
index e1a84d6..ae9978b 100644 (file)
@@ -149,8 +149,7 @@ static void gdm_tty_send_complete(void *arg)
        tty_port_tty_wakeup(&gdm->port);
 }
 
-static int gdm_tty_write(struct tty_struct *tty, const unsigned char *buf,
-                        int len)
+static int gdm_tty_write(struct tty_struct *tty, const u8 *buf, int len)
 {
        struct gdm *gdm = tty->driver_data;
        int remain = len;