aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-i2c.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-12-09 00:26:48 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:03:28 -0500
commitab1660503ac3af7febfcf987648509b484d4feda (patch)
tree9ca5fbfadf1c4c7a6c227b5deb549d198217720a /drivers/media/video/tuner-i2c.h
parentfa746aee336fedfe25e6945e5967399966948420 (diff)
V4L/DVB (6785): tda8290: remove dependency on struct tuner
- remove dependency of tda8290 module on struct tuner - move tuner_foo printk macros from tuner-driver.h into tuner-core.c - clean up #includes of tuner-i2c.h / tuner-driver.h Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> 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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/tuner-i2c.h b/drivers/media/video/tuner-i2c.h
index d7cf72c3fd71..de52e8ffd347 100644
--- a/drivers/media/video/tuner-i2c.h
+++ b/drivers/media/video/tuner-i2c.h
@@ -59,7 +59,6 @@ static inline int tuner_i2c_xfer_send_recv(struct tuner_i2c_props *props,
59 return (ret == 2) ? ilen : ret; 59 return (ret == 2) ? ilen : ret;
60} 60}
61 61
62#ifndef __TUNER_DRIVER_H__
63#define tuner_warn(fmt, arg...) do { \ 62#define tuner_warn(fmt, arg...) do { \
64 printk(KERN_WARNING "%s %d-%04x: " fmt, PREFIX, \ 63 printk(KERN_WARNING "%s %d-%04x: " fmt, PREFIX, \
65 i2c_adapter_id(priv->i2c_props.adap), \ 64 i2c_adapter_id(priv->i2c_props.adap), \
@@ -84,6 +83,5 @@ static inline int tuner_i2c_xfer_send_recv(struct tuner_i2c_props *props,
84 i2c_adapter_id(priv->i2c_props.adap), \ 83 i2c_adapter_id(priv->i2c_props.adap), \
85 priv->i2c_props.addr , ##arg); \ 84 priv->i2c_props.addr , ##arg); \
86 } while (0) 85 } while (0)
87#endif /* __TUNER_DRIVER_H__ */
88 86
89#endif /* __TUNER_I2C_H__ */ 87#endif /* __TUNER_I2C_H__ */