patch-2.3.36 linux/drivers/char/saa7110.c

Next file: linux/drivers/char/saa7111.c
Previous file: linux/drivers/char/pcmcia/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.35/linux/drivers/char/saa7110.c linux/drivers/char/saa7110.c
@@ -29,7 +29,7 @@
 #include <linux/videodev.h>
 #include "linux/video_decoder.h"
 
-#define DEBUG(x...)	x		/* remove when no long debugging */
+#define DEBUG(x...)			/* remove when no long debugging */
 
 #define SAA7110_MAX_INPUT	9	/* 6 CVBS, 3 SVHS */
 #define SAA7110_MAX_OUTPUT	0	/* its a decoder only */
@@ -224,7 +224,7 @@
 	else {
 		saa7110_write(decoder,0x21,0x16);
 		saa7110_write(decoder,0x0D,0x04);
-		printk(KERN_INFO "%s_attach: chip version %x\n", device->name, saa7110_read(decoder));
+		DEBUG(printk(KERN_INFO "%s_attach: chip version %x\n", device->name, saa7110_read(decoder)));
 		saa7110_write(decoder,0x0D,0x06);
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)