Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe,
- struct i2c_adapter *i2c,
- struct xc5000_config *cfg1)
- {
- struct xc5000_priv *priv = NULL;
- int instance;
- u16 id = 0;
- // My code
- struct xc5000_config my_behold_x7_tunerconfig = {
- .i2c_address = 0xc2>>1,
- .if_khz = 4560,
- .radio_input = XC5000_RADIO_FM1,
- };
- struct xc5000_config* cfg = &my_behold_x7_tunerconfig;
- // Will change all cfg to cfg1
- // End of my code
- dprintk(1, "%s(%d-%04x)\n", __func__,
- i2c ? i2c_adapter_id(i2c) : -1,
- cfg ? cfg->i2c_address : -1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement