state->fw_version = 0x20;	/* dummy default value */ 
struct dvb_frontend* tda10046_attach(const struct tda1004x_config* config,				     struct i2c_adapter* i2c){	struct tda1004x_state *state;	/* allocate memory for the internal state */	state = kmalloc(sizeof(struct tda1004x_state), GFP_KERNEL);	if (!state)		return NULL;	/* setup the state */	state->config = config;	state->i2c = i2c;	memcpy(&state->ops, &tda10046_ops, sizeof(struct dvb_frontend_ops));	state->initialised = 0;	state->demod_type = TDA1004X_DEMOD_TDA10046;	/* check if the demod is there */	if (tda1004x_read_byte(state, TDA1004X_CHIPID) != 0x46) {		kfree(state);		return NULL;	}	/* create dvb_frontend */	state->frontend.ops = &state->ops;	state->frontend.demodulator_priv = state;	return &state->frontend;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/71e3420111530273f2b26fabfac4d021c2a2b79f/tda1004x.c/clean/drivers/media/dvb/frontends/tda1004x.c