aboutsummaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2008-10-13 10:32:09 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-13 09:51:38 -0700
commit9ae7b08ad5c91baf9c223844bfd41ca9bc54917b (patch)
treedc35773e846a31beca5941773274afcf0451e1a8 /drivers/char
parent02f11f392434656f00fdcc8c51348d52bd39afe8 (diff)
epca: call tty_port_init
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/epca.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/char/epca.c b/drivers/char/epca.c
index 456e4ede049..4998b2761e8 100644
--- a/drivers/char/epca.c
+++ b/drivers/char/epca.c
@@ -1376,6 +1376,7 @@ static void post_fep_init(unsigned int crd)
unsigned long flags;
u16 tseg, rseg;
+ tty_port_init(&ch->port);
ch->brdchan = bc;
ch->mailbox = gd;
INIT_WORK(&ch->tqueue, do_softint);
@@ -1510,10 +1511,6 @@ static void post_fep_init(unsigned int crd)
ch->fepstopca = 0;
ch->close_delay = 50;
- ch->port.count = 0;
- ch->port.blocked_open = 0;
- init_waitqueue_head(&ch->port.open_wait);
- init_waitqueue_head(&ch->port.close_wait);
spin_unlock_irqrestore(&epca_lock, flags);
}