aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/vme_scc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/vme_scc.c')
-rw-r--r--drivers/char/vme_scc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/vme_scc.c b/drivers/char/vme_scc.c
index 2d9242a45a0d..0e8234bd0e19 100644
--- a/drivers/char/vme_scc.c
+++ b/drivers/char/vme_scc.c
@@ -784,7 +784,7 @@ static void scc_setsignals(struct scc_port *port, int dtr, int rts)
784 784
785static void scc_send_xchar(struct tty_struct *tty, char ch) 785static void scc_send_xchar(struct tty_struct *tty, char ch)
786{ 786{
787 struct scc_port *port = (struct scc_port *)tty->driver_data; 787 struct scc_port *port = tty->driver_data;
788 788
789 port->x_char = ch; 789 port->x_char = ch;
790 if (ch) 790 if (ch)
@@ -911,7 +911,7 @@ static int scc_open (struct tty_struct * tty, struct file * filp)
911 911
912static void scc_throttle (struct tty_struct * tty) 912static void scc_throttle (struct tty_struct * tty)
913{ 913{
914 struct scc_port *port = (struct scc_port *)tty->driver_data; 914 struct scc_port *port = tty->driver_data;
915 unsigned long flags; 915 unsigned long flags;
916 SCC_ACCESS_INIT(port); 916 SCC_ACCESS_INIT(port);
917 917
@@ -927,7 +927,7 @@ static void scc_throttle (struct tty_struct * tty)
927 927
928static void scc_unthrottle (struct tty_struct * tty) 928static void scc_unthrottle (struct tty_struct * tty)
929{ 929{
930 struct scc_port *port = (struct scc_port *)tty->driver_data; 930 struct scc_port *port = tty->driver_data;
931 unsigned long flags; 931 unsigned long flags;
932 SCC_ACCESS_INIT(port); 932 SCC_ACCESS_INIT(port);
933 933
@@ -950,7 +950,7 @@ static int scc_ioctl(struct tty_struct *tty, struct file *file,
950 950
951static int scc_break_ctl(struct tty_struct *tty, int break_state) 951static int scc_break_ctl(struct tty_struct *tty, int break_state)
952{ 952{
953 struct scc_port *port = (struct scc_port *)tty->driver_data; 953 struct scc_port *port = tty->driver_data;
954 unsigned long flags; 954 unsigned long flags;
955 SCC_ACCESS_INIT(port); 955 SCC_ACCESS_INIT(port);
956 956