diff mbox

Fix Warning ISO C90 forbids mixed declarations and code - cx88-dvb

Message ID 499b283a1003231342h6fcbe74di2aa67eb91b18cf0c@mail.gmail.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Ricardo Maraschini March 23, 2010, 8:42 p.m. UTC
None
diff mbox

Patch

--- a/linux/drivers/media/video/cx88/cx88-dvb.c Tue Mar 23 16:17:11 2010 -0300
+++ b/linux/drivers/media/video/cx88/cx88-dvb.c Tue Mar 23 17:29:29 2010 -0300
@@ -1401,7 +1401,8 @@ 
       case CX88_BOARD_SAMSUNG_SMT_7020:
               dev->ts_gen_cntrl = 0x08;

-               struct cx88_core *core = dev->core;
+               struct cx88_core *core;
+               core = dev->core;

               cx_set(MO_GP0_IO, 0x0101);