Commit 247bc540 authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab

V4L/DVB (11773): cx23885: clean up struct names for Hauppauge WinTV-HVR127X devices

Signed-off-by: default avatarMichael Krufky <mkrufky@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 5308cf09
...@@ -250,18 +250,18 @@ static struct tda18271_config hauppauge_hvr1210_tuner_config = { ...@@ -250,18 +250,18 @@ static struct tda18271_config hauppauge_hvr1210_tuner_config = {
.gate = TDA18271_GATE_DIGITAL, .gate = TDA18271_GATE_DIGITAL,
}; };
static struct tda18271_std_map hcw_lgdt3305_tda18271_std_map = { static struct tda18271_std_map hauppauge_hvr127x_std_map = {
.atsc_6 = { .if_freq = 3250, .agc_mode = 3, .std = 4, .atsc_6 = { .if_freq = 3250, .agc_mode = 3, .std = 4,
.if_lvl = 1, .rfagc_top = 0x58 }, .if_lvl = 1, .rfagc_top = 0x58 },
.qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 5, .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 5,
.if_lvl = 1, .rfagc_top = 0x58 }, .if_lvl = 1, .rfagc_top = 0x58 },
}; };
static struct tda18271_config hcw_lgdt3305_tda18271_config = { static struct tda18271_config hauppauge_hvr127x_config = {
.std_map = &hcw_lgdt3305_tda18271_std_map, .std_map = &hauppauge_hvr127x_std_map,
}; };
static struct lgdt3305_config hcw_lgdt3305_config = { static struct lgdt3305_config hauppauge_lgdt3305_config = {
.i2c_addr = 0x0e, .i2c_addr = 0x0e,
.mpeg_mode = LGDT3305_MPEG_SERIAL, .mpeg_mode = LGDT3305_MPEG_SERIAL,
.tpclk_edge = LGDT3305_TPCLK_FALLING_EDGE, .tpclk_edge = LGDT3305_TPCLK_FALLING_EDGE,
...@@ -448,12 +448,12 @@ static int dvb_register(struct cx23885_tsport *port) ...@@ -448,12 +448,12 @@ static int dvb_register(struct cx23885_tsport *port)
case CX23885_BOARD_HAUPPAUGE_HVR1275: case CX23885_BOARD_HAUPPAUGE_HVR1275:
i2c_bus = &dev->i2c_bus[0]; i2c_bus = &dev->i2c_bus[0];
fe0->dvb.frontend = dvb_attach(lgdt3305_attach, fe0->dvb.frontend = dvb_attach(lgdt3305_attach,
&hcw_lgdt3305_config, &hauppauge_lgdt3305_config,
&i2c_bus->i2c_adap); &i2c_bus->i2c_adap);
if (fe0->dvb.frontend != NULL) { if (fe0->dvb.frontend != NULL) {
dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_attach(tda18271_attach, fe0->dvb.frontend,
0x60, &dev->i2c_bus[1].i2c_adap, 0x60, &dev->i2c_bus[1].i2c_adap,
&hcw_lgdt3305_tda18271_config); &hauppauge_hvr127x_config);
} }
break; break;
case CX23885_BOARD_HAUPPAUGE_HVR1255: case CX23885_BOARD_HAUPPAUGE_HVR1255:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment