diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-11-04 09:03:36 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:02:00 -0500 |
commit | 9dd659de9fbd1687c6175053c6453db5b932f152 (patch) | |
tree | 5e07d228f4eaff3ae66bb96fd56792463adcc261 /drivers/media/video/tuner-driver.h | |
parent | 92de1f16d15a30831d1685949aeb76c99032ef23 (diff) |
V4L/DVB (6556): tuner: convert to bus-based I2C API
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-driver.h')
-rw-r--r-- | drivers/media/video/tuner-driver.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/tuner-driver.h b/drivers/media/video/tuner-driver.h index 3ff2943ecc11..d6e5afdaa824 100644 --- a/drivers/media/video/tuner-driver.h +++ b/drivers/media/video/tuner-driver.h | |||
@@ -72,15 +72,15 @@ struct tuner { | |||
72 | /* ------------------------------------------------------------------------ */ | 72 | /* ------------------------------------------------------------------------ */ |
73 | 73 | ||
74 | #define tuner_warn(fmt, arg...) do {\ | 74 | #define tuner_warn(fmt, arg...) do {\ |
75 | printk(KERN_WARNING PREFIX "%d-%04x: " fmt, \ | 75 | printk(KERN_WARNING "%s %d-%04x: " fmt, PREFIX, \ |
76 | i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); } while (0) | 76 | i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); } while (0) |
77 | #define tuner_info(fmt, arg...) do {\ | 77 | #define tuner_info(fmt, arg...) do {\ |
78 | printk(KERN_INFO PREFIX "%d-%04x: " fmt, \ | 78 | printk(KERN_INFO "%s %d-%04x: " fmt, PREFIX, \ |
79 | i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); } while (0) | 79 | i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); } while (0) |
80 | #define tuner_dbg(fmt, arg...) do {\ | 80 | #define tuner_dbg(fmt, arg...) do {\ |
81 | extern int tuner_debug; \ | 81 | extern int tuner_debug; \ |
82 | if (tuner_debug) \ | 82 | if (tuner_debug) \ |
83 | printk(KERN_DEBUG PREFIX "%d-%04x: " fmt, \ | 83 | printk(KERN_DEBUG "%s %d-%04x: " fmt, PREFIX, \ |
84 | i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); } while (0) | 84 | i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); } while (0) |
85 | 85 | ||
86 | #endif /* __TUNER_DRIVER_H__ */ | 86 | #endif /* __TUNER_DRIVER_H__ */ |