diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2006-01-07 21:30:41 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2006-01-07 21:30:41 +0000 |
commit | 5cac981da5fdce6e96e8664cc06adbabc38cad03 (patch) | |
tree | 174741c897a9cdcb1b3aa4b68b8755a2727302ef /linux/drivers/media/video/saa7134 | |
parent | 891b1a330d34434953b744f5b470acf01cbcd1df (diff) | |
download | mediapointer-dvb-s2-5cac981da5fdce6e96e8664cc06adbabc38cad03.tar.gz mediapointer-dvb-s2-5cac981da5fdce6e96e8664cc06adbabc38cad03.tar.bz2 |
printk cleanups
- some fixes from the previous patches
- printk replaced by v4l_ print macros on saa6752 and bt832
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/saa7134')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa6752hs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/video/saa7134/saa6752hs.c b/linux/drivers/media/video/saa7134/saa6752hs.c index 69e8c209c..dc49dbf68 100644 --- a/linux/drivers/media/video/saa7134/saa6752hs.c +++ b/linux/drivers/media/video/saa7134/saa6752hs.c @@ -10,7 +10,8 @@ #include <linux/i2c.h> #include <linux/types.h> #include "compat.h" -#include <linux/videodev.h> +#include <linux/videodev2.h> +#include <media/v4l2-common.h> #include <linux/init.h> #include <linux/crc32.h> @@ -524,7 +525,6 @@ static int saa6752hs_attach(struct i2c_adapter *adap, int addr, unsigned short f { struct saa6752hs_state *h; - printk("saa6752hs: chip found @ 0x%x\n", addr<<1); if (NULL == (h = kmalloc(sizeof(*h), GFP_KERNEL))) return -ENOMEM; @@ -540,6 +540,8 @@ static int saa6752hs_attach(struct i2c_adapter *adap, int addr, unsigned short f i2c_set_clientdata(&h->client, h); i2c_attach_client(&h->client); + v4l_info(&h->client,"saa6752hs: chip found @ 0x%x\n", addr<<1); + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) MOD_INC_USE_COUNT; #endif |