From 5cac981da5fdce6e96e8664cc06adbabc38cad03 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 7 Jan 2006 21:30:41 +0000 Subject: printk cleanups - some fixes from the previous patches - printk replaced by v4l_ print macros on saa6752 and bt832 Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/saa7134/saa6752hs.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'linux/drivers/media/video/saa7134') 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 #include #include "compat.h" -#include +#include +#include #include #include @@ -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 -- cgit v1.2.3