/* This routine is called when a particular tty device is closed.  */
static void cy_close(struct tty_struct *tty, struct file *filp)
/* This routine is called when a particular tty device is closed.  */
static void cy_close(struct tty_struct *tty, struct file *filp)
{
	struct cyclades_port *info = tty->driver_data;
	if (!info || serial_paranoia_check(info, tty->name, "cy_close"))
		return;
	tty_port_close(&info->port, tty, filp);
}