This is the compile error and relevant sections of the file where the error occurred.
I can provide the complete modified .c and .h files for cx88-dvb and mb86a16.
cx88-dvb.c:202: error: variable twinhan_vp1027 has initializer but incomplete type
cx88-dvb.c:203: error: unknown field demod_address specified in initializer
cx88-dvb.c:203: warning: excess elements in struct initializer
cx88-dvb.c:203: warning: (near initialization for twinhan_vp1027)
cx88-dvb.c: In function dvb_register:
cx88-dvb.c:731: error: mb86a16_attach undeclared (first use in this function)
cx88-dvb.c:731: error: (Each undeclared identifier is reported only once
cx88-dvb.c:731: error: for each function it appears in.)
cx88-dvb.c:731: warning: type defaults to int in declaration of __a
cx88-dvb.c:731: warning: type defaults to int in declaration of type name
cx88-dvb.c:731: warning: type defaults to int in declaration of type name
cx88-dvb.c:731: error: called object __a is not a function
202 --->
static struct mt352_config dvico_fusionhdtv_dual = {
.demod_address = 0x0f,
.demod_init = dvico_dual_demod_init,
};
static struct mb86a16_config twinhan_vp1027 = {
.demod_address = 0x08,
};
731 --->
case CX88_BOARD_TWINHAN_VP1027_DVBS:
dev->ts_gen_cntrl = 0x00;
dev->dvb.frontend = dvb_attach(mb86a16_attach,
&twinhan_vp1027,
&dev->core->i2c_adap);
if (dev->dvb.frontend) {
dev->core->prev_set_voltage = dev->dvb.frontend->ops.set_voltage;
dev->dvb.frontend->ops.set_voltage = vp1027_set_voltage;
}
break;