serport->serio->id.type = 0; 
spin_lock_irqsave(&serport->lock, flags); clear_bit(SERPORT_ACTIVE, &serport->flags); set_bit(SERPORT_DEAD, &serport->flags); spin_unlock_irqrestore(&serport->lock, flags);  
static void serport_serio_close(struct serio *serio){	struct serport *serport = serio->port_data;	serport->serio->id.type = 0;	wake_up_interruptible(&serport->wait);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1ff2c873ca11f9e6abffb004b908756b27597672/serport.c/clean/drivers/input/serio/serport.c