 /* make sure no no tty has been registerd in this index */ hp = hvc_get_by_index(index); if (hp) { kobject_put(&hp->kobj); return -1; } 
int hvc_instantiate(uint32_t vtermno, int index){	if (index < 0 || index >= MAX_NR_HVC_CONSOLES)		return -1;	if (vtermnos[index] != -1)		return -1;	vtermnos[index] = vtermno;	/* reserve all indices upto and including this index */	if (last_hvc < index)		last_hvc = index;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7805b1b29ffdd252dfef36aa28d7bda70cd586d3/hvc_console.c/clean/drivers/char/hvc_console.c