The patch number 9296 was added via Mauro Carvalho Chehab <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Igor M. Liplianin  <[EMAIL PROTECTED]>
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]>


---

 linux/drivers/media/dvb/dm1105/dm1105.c    |   12 ++++++++++++
 linux/drivers/media/dvb/dvb-usb/dw2102.c   |   12 ++++++++++++
 linux/drivers/media/dvb/frontends/z0194a.h |   16 ++--------------
 linux/drivers/media/video/cx88/cx88-dvb.c  |    4 ++--
 4 files changed, 28 insertions(+), 16 deletions(-)

diff -r 464081e22b1f -r e2a8b9b9c294 linux/drivers/media/dvb/dm1105/dm1105.c
--- a/linux/drivers/media/dvb/dm1105/dm1105.c   Fri Oct 17 13:16:28 2008 -0300
+++ b/linux/drivers/media/dvb/dm1105/dm1105.c   Fri Oct 17 19:45:55 2008 +0300
@@ -603,6 +603,18 @@ static void dm1105dvb_hw_exit(struct dm1
        dm1105dvb_dma_unmap(dm1105dvb);
 }
 
+static struct stv0299_config sharp_z0194a_config = {
+       .demod_address = 0x68,
+       .inittab = sharp_z0194a_inittab,
+       .mclk = 88000000UL,
+       .invert = 1,
+       .skip_reinit = 0,
+       .lock_output = STV0299_LOCKOUTPUT_1,
+       .volt13_op0_op1 = STV0299_VOLT13_OP1,
+       .min_delay_ms = 100,
+       .set_symbol_rate = sharp_z0194a_set_symbol_rate,
+};
+
 static struct stv0288_config earda_config = {
        .demod_address = 0x68,
        .min_delay_ms = 100,
diff -r 464081e22b1f -r e2a8b9b9c294 linux/drivers/media/dvb/dvb-usb/dw2102.c
--- a/linux/drivers/media/dvb/dvb-usb/dw2102.c  Fri Oct 17 13:16:28 2008 -0300
+++ b/linux/drivers/media/dvb/dvb-usb/dw2102.c  Fri Oct 17 19:45:55 2008 +0300
@@ -421,6 +421,18 @@ static int dw210x_set_voltage(struct dvb
        i2c_transfer(&udev_adap->dev->i2c_adap, msg, 1);
        return 0;
 }
+
+static struct stv0299_config sharp_z0194a_config = {
+       .demod_address = 0x68,
+       .inittab = sharp_z0194a_inittab,
+       .mclk = 88000000UL,
+       .invert = 1,
+       .skip_reinit = 0,
+       .lock_output = STV0299_LOCKOUTPUT_1,
+       .volt13_op0_op1 = STV0299_VOLT13_OP1,
+       .min_delay_ms = 100,
+       .set_symbol_rate = sharp_z0194a_set_symbol_rate,
+};
 
 static struct cx24116_config dw2104_config = {
        .demod_address = 0x55,
diff -r 464081e22b1f -r e2a8b9b9c294 linux/drivers/media/dvb/frontends/z0194a.h
--- a/linux/drivers/media/dvb/frontends/z0194a.h        Fri Oct 17 13:16:28 
2008 -0300
+++ b/linux/drivers/media/dvb/frontends/z0194a.h        Fri Oct 17 19:45:55 
2008 +0300
@@ -12,7 +12,7 @@
 #ifndef Z0194A
 #define Z0194A
 
-static int sharp_z0194a__set_symbol_rate(struct dvb_frontend *fe,
+static int sharp_z0194a_set_symbol_rate(struct dvb_frontend *fe,
                                         u32 srate, u32 ratio)
 {
        u8 aclk = 0;
@@ -40,7 +40,7 @@ static int sharp_z0194a__set_symbol_rate
        return 0;
 }
 
-static u8 sharp_z0194a__inittab[] = {
+static u8 sharp_z0194a_inittab[] = {
        0x01, 0x15,
        0x02, 0x00,
        0x03, 0x00,
@@ -82,16 +82,4 @@ static u8 sharp_z0194a__inittab[] = {
        0xff, 0xff
 };
 
-static struct stv0299_config sharp_z0194a_config = {
-       .demod_address = 0x68,
-       .inittab = sharp_z0194a__inittab,
-       .mclk = 88000000UL,
-       .invert = 1,
-       .skip_reinit = 0,
-       .lock_output = STV0299_LOCKOUTPUT_1,
-       .volt13_op0_op1 = STV0299_VOLT13_OP1,
-       .min_delay_ms = 100,
-       .set_symbol_rate = sharp_z0194a__set_symbol_rate,
-};
-
 #endif
diff -r 464081e22b1f -r e2a8b9b9c294 linux/drivers/media/video/cx88/cx88-dvb.c
--- a/linux/drivers/media/video/cx88/cx88-dvb.c Fri Oct 17 13:16:28 2008 -0300
+++ b/linux/drivers/media/video/cx88/cx88-dvb.c Fri Oct 17 19:45:55 2008 +0300
@@ -582,14 +582,14 @@ static struct cx24116_config tevii_s460_
 
 static struct stv0299_config tevii_tuner_sharp_config = {
        .demod_address = 0x68,
-       .inittab = sharp_z0194a__inittab,
+       .inittab = sharp_z0194a_inittab,
        .mclk = 88000000UL,
        .invert = 1,
        .skip_reinit = 0,
        .lock_output = 1,
        .volt13_op0_op1 = STV0299_VOLT13_OP1,
        .min_delay_ms = 100,
-       .set_symbol_rate = sharp_z0194a__set_symbol_rate,
+       .set_symbol_rate = sharp_z0194a_set_symbol_rate,
        .set_ts_params = cx24116_set_ts_param,
 };
 


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/e2a8b9b9c294339acb353a9a37ed7c1b72dfc0fb

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to