diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-11 16:41:49 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-11 16:41:49 -0500 |
commit | f167cb4e6ee07914b66eb85fc0bf006a409b6838 (patch) | |
tree | 11b888db404a404a9a918c841d06d65c21bc4c19 /drivers/media/video/bt832.c | |
parent | b2a17e47ceb82d23dbf5c5fb24b5377e21486dce (diff) |
V4L/DVB (3345): Fixes some bad global variables
- Debug global var is already used inside kernel.
- v4l_dbg now expects the debug var
- global vars inside msp34xx renamed to msp_*
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bt832.c')
-rw-r--r-- | drivers/media/video/bt832.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/bt832.c b/drivers/media/video/bt832.c index 361a9b6ccce3..07c78f1f7a44 100644 --- a/drivers/media/video/bt832.c +++ b/drivers/media/video/bt832.c | |||
@@ -75,13 +75,13 @@ int bt832_hexdump(struct i2c_client *i2c_client_s, unsigned char *buf) | |||
75 | 75 | ||
76 | if(debug>1) { | 76 | if(debug>1) { |
77 | int i; | 77 | int i; |
78 | v4l_dbg(2,i2c_client_s,"hexdump:"); | 78 | v4l_dbg(2, debug,i2c_client_s,"hexdump:"); |
79 | for(i=1;i<65;i++) { | 79 | for(i=1;i<65;i++) { |
80 | if(i!=1) { | 80 | if(i!=1) { |
81 | if(((i-1)%8)==0) printk(" "); | 81 | if(((i-1)%8)==0) printk(" "); |
82 | if(((i-1)%16)==0) { | 82 | if(((i-1)%16)==0) { |
83 | printk("\n"); | 83 | printk("\n"); |
84 | v4l_dbg(2,i2c_client_s,"hexdump:"); | 84 | v4l_dbg(2, debug,i2c_client_s,"hexdump:"); |
85 | } | 85 | } |
86 | } | 86 | } |
87 | printk(" %02x",buf[i]); | 87 | printk(" %02x",buf[i]); |