diff options
author | Alan Cox <alan@redhat.com> | 2008-08-14 09:53:18 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-08-14 09:53:18 +1000 |
commit | aa30b7a87ab35ac7396ec439dc4888255171fe67 (patch) | |
tree | 675edd01ca80e7459e72bcc5b999976f33eba0fd /drivers/char/epca.c | |
parent | 1818121fbea1af0833cbe3094575cf9523257950 (diff) |
epca-port-init
Signed-off-by: Alan Cox <alan@redhat.com>
Diffstat (limited to 'drivers/char/epca.c')
-rw-r--r-- | drivers/char/epca.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/char/epca.c b/drivers/char/epca.c index 456e4ede049f..4998b2761e8f 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); } |