staging: dgnc: tty.c: fixes pointer syntax
authorLidza Louina <lidza.louina@gmail.com>
Wed, 21 Aug 2013 17:27:15 +0000 (13:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 17:48:40 +0000 (10:48 -0700)
This patch fixes the error: "foo* bar" should be "foo *bar".

Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c

index 5938c4a..da035a5 100644 (file)
@@ -114,9 +114,9 @@ static int dgnc_block_til_ready(struct tty_struct *tty, struct file *file, struc
 static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg);
 static int dgnc_tty_digigeta(struct tty_struct *tty, struct digi_t __user *retinfo);
 static int dgnc_tty_digiseta(struct tty_struct *tty, struct digi_t __user *new_info);
-static int dgnc_tty_write_room(struct tty_structtty);
+static int dgnc_tty_write_room(struct tty_struct *tty);
 static int dgnc_tty_put_char(struct tty_struct *tty, unsigned char c);
-static int dgnc_tty_chars_in_buffer(struct tty_structtty);
+static int dgnc_tty_chars_in_buffer(struct tty_struct *tty);
 static void dgnc_tty_start(struct tty_struct *tty);
 static void dgnc_tty_stop(struct tty_struct *tty);
 static void dgnc_tty_throttle(struct tty_struct *tty);