Skip to content

Commit d4305c6

Browse files
Igor M. LiplianinMauro Carvalho Chehab
authored andcommitted
V4L/DVB (9296): Patch to remove warning message during cx88-dvb compilation
Remove warning message during cx88-dvb compilation. Also fixes double underline in function and struct names. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent eb229b2 commit d4305c6

File tree

4 files changed

+28
-16
lines changed

4 files changed

+28
-16
lines changed

drivers/media/dvb/dm1105/dm1105.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,18 @@ static void dm1105dvb_hw_exit(struct dm1105dvb *dm1105dvb)
595595
dm1105dvb_dma_unmap(dm1105dvb);
596596
}
597597

598+
static struct stv0299_config sharp_z0194a_config = {
599+
.demod_address = 0x68,
600+
.inittab = sharp_z0194a_inittab,
601+
.mclk = 88000000UL,
602+
.invert = 1,
603+
.skip_reinit = 0,
604+
.lock_output = STV0299_LOCKOUTPUT_1,
605+
.volt13_op0_op1 = STV0299_VOLT13_OP1,
606+
.min_delay_ms = 100,
607+
.set_symbol_rate = sharp_z0194a_set_symbol_rate,
608+
};
609+
598610
static struct stv0288_config earda_config = {
599611
.demod_address = 0x68,
600612
.min_delay_ms = 100,

drivers/media/dvb/dvb-usb/dw2102.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,18 @@ static int dw210x_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage)
422422
return 0;
423423
}
424424

425+
static struct stv0299_config sharp_z0194a_config = {
426+
.demod_address = 0x68,
427+
.inittab = sharp_z0194a_inittab,
428+
.mclk = 88000000UL,
429+
.invert = 1,
430+
.skip_reinit = 0,
431+
.lock_output = STV0299_LOCKOUTPUT_1,
432+
.volt13_op0_op1 = STV0299_VOLT13_OP1,
433+
.min_delay_ms = 100,
434+
.set_symbol_rate = sharp_z0194a_set_symbol_rate,
435+
};
436+
425437
static struct cx24116_config dw2104_config = {
426438
.demod_address = 0x55,
427439
.mpg_clk_pos_pol = 0x01,

drivers/media/dvb/frontends/z0194a.h

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#ifndef Z0194A
1313
#define Z0194A
1414

15-
static int sharp_z0194a__set_symbol_rate(struct dvb_frontend *fe,
15+
static int sharp_z0194a_set_symbol_rate(struct dvb_frontend *fe,
1616
u32 srate, u32 ratio)
1717
{
1818
u8 aclk = 0;
@@ -40,7 +40,7 @@ static int sharp_z0194a__set_symbol_rate(struct dvb_frontend *fe,
4040
return 0;
4141
}
4242

43-
static u8 sharp_z0194a__inittab[] = {
43+
static u8 sharp_z0194a_inittab[] = {
4444
0x01, 0x15,
4545
0x02, 0x00,
4646
0x03, 0x00,
@@ -82,16 +82,4 @@ static u8 sharp_z0194a__inittab[] = {
8282
0xff, 0xff
8383
};
8484

85-
static struct stv0299_config sharp_z0194a_config = {
86-
.demod_address = 0x68,
87-
.inittab = sharp_z0194a__inittab,
88-
.mclk = 88000000UL,
89-
.invert = 1,
90-
.skip_reinit = 0,
91-
.lock_output = STV0299_LOCKOUTPUT_1,
92-
.volt13_op0_op1 = STV0299_VOLT13_OP1,
93-
.min_delay_ms = 100,
94-
.set_symbol_rate = sharp_z0194a__set_symbol_rate,
95-
};
96-
9785
#endif

drivers/media/video/cx88/cx88-dvb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,14 +575,14 @@ static struct cx24116_config tevii_s460_config = {
575575

576576
static struct stv0299_config tevii_tuner_sharp_config = {
577577
.demod_address = 0x68,
578-
.inittab = sharp_z0194a__inittab,
578+
.inittab = sharp_z0194a_inittab,
579579
.mclk = 88000000UL,
580580
.invert = 1,
581581
.skip_reinit = 0,
582582
.lock_output = 1,
583583
.volt13_op0_op1 = STV0299_VOLT13_OP1,
584584
.min_delay_ms = 100,
585-
.set_symbol_rate = sharp_z0194a__set_symbol_rate,
585+
.set_symbol_rate = sharp_z0194a_set_symbol_rate,
586586
.set_ts_params = cx24116_set_ts_param,
587587
};
588588

0 commit comments

Comments
 (0)