core->norm = VIDEO_MODE_AUTO; core->input = 2; core->enable = 1; core->bright = 32768; core->contrast = 32768; core->hue = 32768; core->sat = 32768;  
static int tvp5150_detect_client (struct i2c_adapter *adapter,		int address, int kind){	struct i2c_client *client;	struct tvp5150 *core;	int rv;	dprintk(1,		KERN_INFO		"tvp5150.c: detecting tvp5150 client on address 0x%x\n",		address << 1);	client_template.adapter = adapter;	client_template.addr = address;	/* Check if the adapter supports the needed features */	if (!i2c_check_functionality	    (adapter,	     I2C_FUNC_SMBUS_READ_BYTE | I2C_FUNC_SMBUS_WRITE_BYTE_DATA))		return 0;	client = kmalloc(sizeof(struct i2c_client), GFP_KERNEL);	if (client == 0)		return -ENOMEM;	memcpy(client,&client_template,sizeof(struct i2c_client));	core = kmalloc(sizeof(struct tvp5150), GFP_KERNEL);	if (core == 0) {		kfree(client);		return -ENOMEM;	}	memset(core, 0, sizeof(struct tvp5150));	i2c_set_clientdata(client, core);	rv = i2c_attach_client(client);	if (rv) {		kfree(client);		kfree(core);		return rv;	}	dump_reg (client);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/4c86f973ba0f49af1f4c54ff3d1935093c173450/tvp5150.c/buggy/drivers/media/video/tvp5150.c