aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorIgor M. Liplianin <liplianin@me.by>2008-10-17 12:45:55 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-17 16:41:30 -0400
commitd4305c68cc30b66a71ea05297e6c0663feccad65 (patch)
treedd5e449ef35daa7c37eee00062f57940afb9faa4 /drivers/media
parenteb229b22fbe8b76c6531b1caca3800f9e1f705d5 (diff)
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 <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/dm1105/dm1105.c12
-rw-r--r--drivers/media/dvb/dvb-usb/dw2102.c12
-rw-r--r--drivers/media/dvb/frontends/z0194a.h16
-rw-r--r--drivers/media/video/cx88/cx88-dvb.c4
4 files changed, 28 insertions, 16 deletions
diff --git a/drivers/media/dvb/dm1105/dm1105.c b/drivers/media/dvb/dm1105/dm1105.c
index f7321448b4b1..14e627ef6465 100644
--- a/drivers/media/dvb/dm1105/dm1105.c
+++ b/drivers/media/dvb/dm1105/dm1105.c
@@ -595,6 +595,18 @@ static void dm1105dvb_hw_exit(struct dm1105dvb *dm1105dvb)
595 dm1105dvb_dma_unmap(dm1105dvb); 595 dm1105dvb_dma_unmap(dm1105dvb);
596} 596}
597 597
598static 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
598static struct stv0288_config earda_config = { 610static struct stv0288_config earda_config = {
599 .demod_address = 0x68, 611 .demod_address = 0x68,
600 .min_delay_ms = 100, 612 .min_delay_ms = 100,
diff --git a/drivers/media/dvb/dvb-usb/dw2102.c b/drivers/media/dvb/dvb-usb/dw2102.c
index ca53df61caa8..6286fbbe7fb5 100644
--- a/drivers/media/dvb/dvb-usb/dw2102.c
+++ b/drivers/media/dvb/dvb-usb/dw2102.c
@@ -422,6 +422,18 @@ static int dw210x_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage)
422 return 0; 422 return 0;
423} 423}
424 424
425static 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
425static struct cx24116_config dw2104_config = { 437static struct cx24116_config dw2104_config = {
426 .demod_address = 0x55, 438 .demod_address = 0x55,
427 .mpg_clk_pos_pol = 0x01, 439 .mpg_clk_pos_pol = 0x01,
diff --git a/drivers/media/dvb/frontends/z0194a.h b/drivers/media/dvb/frontends/z0194a.h
index d2876d2e1769..07f3fc0998f6 100644
--- a/drivers/media/dvb/frontends/z0194a.h
+++ b/drivers/media/dvb/frontends/z0194a.h
@@ -12,7 +12,7 @@
12#ifndef Z0194A 12#ifndef Z0194A
13#define Z0194A 13#define Z0194A
14 14
15static int sharp_z0194a__set_symbol_rate(struct dvb_frontend *fe, 15static int sharp_z0194a_set_symbol_rate(struct dvb_frontend *fe,
16 u32 srate, u32 ratio) 16 u32 srate, u32 ratio)
17{ 17{
18 u8 aclk = 0; 18 u8 aclk = 0;
@@ -40,7 +40,7 @@ static int sharp_z0194a__set_symbol_rate(struct dvb_frontend *fe,
40 return 0; 40 return 0;
41} 41}
42 42
43static u8 sharp_z0194a__inittab[] = { 43static u8 sharp_z0194a_inittab[] = {
44 0x01, 0x15, 44 0x01, 0x15,
45 0x02, 0x00, 45 0x02, 0x00,
46 0x03, 0x00, 46 0x03, 0x00,
@@ -82,16 +82,4 @@ static u8 sharp_z0194a__inittab[] = {
82 0xff, 0xff 82 0xff, 0xff
83}; 83};
84 84
85static 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
97#endif 85#endif
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c
index d13bd140dc76..6968ab0181aa 100644
--- a/drivers/media/video/cx88/cx88-dvb.c
+++ b/drivers/media/video/cx88/cx88-dvb.c
@@ -575,14 +575,14 @@ static struct cx24116_config tevii_s460_config = {
575 575
576static struct stv0299_config tevii_tuner_sharp_config = { 576static struct stv0299_config tevii_tuner_sharp_config = {
577 .demod_address = 0x68, 577 .demod_address = 0x68,
578 .inittab = sharp_z0194a__inittab, 578 .inittab = sharp_z0194a_inittab,
579 .mclk = 88000000UL, 579 .mclk = 88000000UL,
580 .invert = 1, 580 .invert = 1,
581 .skip_reinit = 0, 581 .skip_reinit = 0,
582 .lock_output = 1, 582 .lock_output = 1,
583 .volt13_op0_op1 = STV0299_VOLT13_OP1, 583 .volt13_op0_op1 = STV0299_VOLT13_OP1,
584 .min_delay_ms = 100, 584 .min_delay_ms = 100,
585 .set_symbol_rate = sharp_z0194a__set_symbol_rate, 585 .set_symbol_rate = sharp_z0194a_set_symbol_rate,
586 .set_ts_params = cx24116_set_ts_param, 586 .set_ts_params = cx24116_set_ts_param,
587}; 587};
588 588