/* ioc3_cb_post_ncs - called for some basic errors @port: port to use @ncs: event  */
static void ioc3_cb_post_ncs(struct uart_port *the_port, int ncs)
/* ioc3_cb_post_ncs - called for some basic errors @port: port to use @ncs: event  */
static void ioc3_cb_post_ncs(struct uart_port *the_port, int ncs)
{
	struct uart_icount *icount;
	icount = &the_port->icount;
	if (ncs & NCS_BREAK)
		icount->brk++;
	if (ncs & NCS_FRAMING)
		icount->frame++;
	if (ncs & NCS_OVERRUN)
		icount->overrun++;
	if (ncs & NCS_PARITY)
		icount->parity++;
}