struct serio *serio = serport->serio; 
static int serport_ldisc_ioctl(struct tty_struct * tty, struct file * file, unsigned int cmd, unsigned long arg){	struct serport *serport = (struct serport*) tty->disc_data;	struct serio *serio = serport->serio;	unsigned long type;	if (cmd == SPIOCSTYPE) {		if (get_user(type, (unsigned long __user *) arg))			return -EFAULT;		serio->id.proto	= type & 0x000000ff;		serio->id.id	= (type & 0x0000ff00) >> 8;		serio->id.extra	= (type & 0x00ff0000) >> 16;		return 0;	}	return -EINVAL;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1ff2c873ca11f9e6abffb004b908756b27597672/serport.c/clean/drivers/input/serio/serport.c