summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2002-12-17 17:30:45 +0000
committerMichael Hunold <devnull@localhost>2002-12-17 17:30:45 +0000
commitcf401831b01431d455d70fb64a8f5e1d3b947e26 (patch)
tree7387425138f6e98e2091329a31dfca0d0aa74981 /linux/drivers/media/video
parent648fb619790cc40a8f4eec94e585a653bd680122 (diff)
downloadmediapointer-dvb-s2-cf401831b01431d455d70fb64a8f5e1d3b947e26.tar.gz
mediapointer-dvb-s2-cf401831b01431d455d70fb64a8f5e1d3b947e26.tar.bz2
Misc. build fixes (beautification, remove some unnecessary printks)
for the new saa7146 core, the mxb driver and the saa7111 driver.
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/mxb.c2
-rw-r--r--linux/drivers/media/video/saa7111.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/linux/drivers/media/video/mxb.c b/linux/drivers/media/video/mxb.c
index 094cbbf9a..d7ad7cfd1 100644
--- a/linux/drivers/media/video/mxb.c
+++ b/linux/drivers/media/video/mxb.c
@@ -28,7 +28,7 @@
#include <linux/video_decoder.h> /* for saa7111a */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,51)
- #define KBUILD_MODNAME "mxb"
+ #define KBUILD_MODNAME mxb
#endif
#define I2C_SAA7111A 0x24
diff --git a/linux/drivers/media/video/saa7111.c b/linux/drivers/media/video/saa7111.c
index ad2efed8b..256654ad3 100644
--- a/linux/drivers/media/video/saa7111.c
+++ b/linux/drivers/media/video/saa7111.c
@@ -209,13 +209,10 @@ static int saa7111_command(struct i2c_client *client, unsigned int cmd,
{
int i = 0;
struct video_decoder_init *init = arg;
- printk("DECODER_INIT: %d\n",init->count);
i = i2c_master_send(client, init->data, init->count);
if (i < 0) {
- printk(KERN_ERR "DECODER_INIT failed.");
return -EFAULT;
} else {
- printk(KERN_ERR "DECODER_INIT ok.");
}
}
break;