input_register_device(&input_dev); input_dev.timer.function = input_repeat_key; 
input_register_device(input_dev); input_dev->timer.function = input_repeat_key; 
int __init av7110_ir_init(struct av7110 *av7110){	static struct proc_dir_entry *e;	if (av_cnt >= sizeof av_list/sizeof av_list[0])		return -ENOSPC;	av7110_setup_irc_config(av7110, 0x0001);	av_list[av_cnt++] = av7110;	if (av_cnt == 1) {		init_timer(&keyup_timer);		keyup_timer.data = 0;		input_dev.name = "DVB on-card IR receiver";		set_bit(EV_KEY, input_dev.evbit);		set_bit(EV_REP, input_dev.evbit);		input_register_keys();		input_register_device(&input_dev);		input_dev.timer.function = input_repeat_key;		e = create_proc_entry("av7110_ir", S_IFREG | S_IRUGO | S_IWUSR, NULL);		if (e) {			e->write_proc = av7110_ir_write_proc;			e->size = 4 + 256 * sizeof(u16);		}	}	tasklet_init(&av7110->ir_tasklet, av7110_emit_key, (unsigned long) av7110);	av7110->ir_handler = ir_handler;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b7df3910c1298fee8ed7b9dfd2da74b85df5539c/av7110_ir.c/buggy/drivers/media/dvb/ttpci/av7110_ir.c