aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/generic_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/generic_serial.c')
-rw-r--r--drivers/char/generic_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/generic_serial.c b/drivers/char/generic_serial.c
index 2f040d1ed89f..9e4e569dc00d 100644
--- a/drivers/char/generic_serial.c
+++ b/drivers/char/generic_serial.c
@@ -511,7 +511,7 @@ void gs_close(struct tty_struct * tty, struct file * filp)
511 511
512 func_enter (); 512 func_enter ();
513 513
514 port = (struct gs_port *) tty->driver_data; 514 port = tty->driver_data;
515 515
516 if (!port) return; 516 if (!port) return;
517 517