core->i2c_algo.data = core; i2c_set_adapdata(&core->i2c_adap,core); core->i2c_adap.algo_data = &core->i2c_algo; core->i2c_client.adapter = &core->i2c_adap; 
core->i2c_algo.data = core; i2c_set_adapdata(&core->i2c_adap,core); core->i2c_adap.algo_data = &core->i2c_algo; core->i2c_client.adapter = &core->i2c_adap; 
int cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci){	memcpy(&core->i2c_adap, &cx8800_i2c_adap_template,	       sizeof(core->i2c_adap));	memcpy(&core->i2c_algo, &cx8800_i2c_algo_template,	       sizeof(core->i2c_algo));	memcpy(&core->i2c_client, &cx8800_i2c_client_template,	       sizeof(core->i2c_client));	if (core->tuner_type != TUNER_ABSENT)		core->i2c_adap.class |= I2C_CLASS_TV_ANALOG;	if (cx88_boards[core->board].dvb)		core->i2c_adap.class |= I2C_CLASS_TV_DIGITAL;	core->i2c_adap.dev.parent = &pci->dev;	strlcpy(core->i2c_adap.name,core->name,sizeof(core->i2c_adap.name));        core->i2c_algo.data = core;        i2c_set_adapdata(&core->i2c_adap,core);        core->i2c_adap.algo_data = &core->i2c_algo;        core->i2c_client.adapter = &core->i2c_adap;	cx8800_bit_setscl(core,1);	cx8800_bit_setsda(core,1);	core->i2c_rc = i2c_bit_add_bus(&core->i2c_adap);	if (0 == core->i2c_rc) {		dprintk(1, "i2c register ok\n");		if (i2c_scan)			do_i2c_scan(core->name,&core->i2c_client);	} else		printk("%s: i2c register FAILED\n", core->name);	return core->i2c_rc;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4ac97914c6c35f6bf132071c718e034d0846b9f5/cx88-i2c.c/buggy/drivers/media/video/cx88/cx88-i2c.c