From cb1c9634f79bf22ade18f5d4fbdea062c071e39c Mon Sep 17 00:00:00 2001 From: Johannes Stezenbach Date: Tue, 17 Jun 2003 12:27:19 +0000 Subject: move debug print after variable declarations (patch by Andrew de Quincey) --- linux/drivers/media/dvb/ttpci/av7110.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'linux/drivers/media/dvb') diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index 4c0b0bd6e..964eb9ed8 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -2746,12 +2746,11 @@ int av7110_dvb_c_switch(struct saa7146_fh *fh) u8 band = 0; int source, sync; - - DEB_EE(("av7110: %p\n",av7110)); - struct saa7146_fh *ov_fh = NULL; int restart_overlay = 0; + DEB_EE(("av7110: %p\n",av7110)); + if( vv->ov_data != NULL ) { ov_fh = vv->ov_data->fh; saa7146_stop_preview(ov_fh); -- cgit v1.2.3