aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-i2c.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-11-04 09:03:36 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:02:00 -0500
commit9dd659de9fbd1687c6175053c6453db5b932f152 (patch)
tree5e07d228f4eaff3ae66bb96fd56792463adcc261 /drivers/media/video/tuner-i2c.h
parent92de1f16d15a30831d1685949aeb76c99032ef23 (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-i2c.h')
-rw-r--r--drivers/media/video/tuner-i2c.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/tuner-i2c.h b/drivers/media/video/tuner-i2c.h
index 159019ec3373..cfba3d10906c 100644
--- a/drivers/media/video/tuner-i2c.h
+++ b/drivers/media/video/tuner-i2c.h
@@ -48,14 +48,14 @@ static inline int tuner_i2c_xfer_recv(struct tuner_i2c_props *props, char *buf,
48 48
49#ifndef __TUNER_DRIVER_H__ 49#ifndef __TUNER_DRIVER_H__
50#define tuner_warn(fmt, arg...) do {\ 50#define tuner_warn(fmt, arg...) do {\
51 printk(KERN_WARNING PREFIX "%d-%04x: " fmt, \ 51 printk(KERN_WARNING "%s %d-%04x: " fmt, PREFIX, \
52 i2c_adapter_id(priv->i2c_props.adap), priv->i2c_props.addr , ##arg); } while (0) 52 i2c_adapter_id(priv->i2c_props.adap), priv->i2c_props.addr , ##arg); } while (0)
53#define tuner_info(fmt, arg...) do {\ 53#define tuner_info(fmt, arg...) do {\
54 printk(KERN_INFO PREFIX "%d-%04x: " fmt, \ 54 printk(KERN_INFO "%s %d-%04x: " fmt, PREFIX, \
55 i2c_adapter_id(priv->i2c_props.adap), priv->i2c_props.addr , ##arg); } while (0) 55 i2c_adapter_id(priv->i2c_props.adap), priv->i2c_props.addr , ##arg); } while (0)
56#define tuner_dbg(fmt, arg...) do {\ 56#define tuner_dbg(fmt, arg...) do {\
57 if ((debug)) \ 57 if ((debug)) \
58 printk(KERN_DEBUG PREFIX "%d-%04x: " fmt, \ 58 printk(KERN_DEBUG "%s %d-%04x: " fmt, PREFIX, \
59 i2c_adapter_id(priv->i2c_props.adap), priv->i2c_props.addr , ##arg); } while (0) 59 i2c_adapter_id(priv->i2c_props.adap), priv->i2c_props.addr , ##arg); } while (0)
60#endif /* __TUNER_DRIVER_H__ */ 60#endif /* __TUNER_DRIVER_H__ */
61 61