summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-driver.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-12-09 06:26:48 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 22:03:28 +0100
commitab1660503ac3af7febfcf987648509b484d4feda (patch)
tree9ca5fbfadf1c4c7a6c227b5deb549d198217720a /drivers/media/video/tuner-driver.h
parentV4L/DVB (6784): tda8290: prevent possible memory leak (diff)
downloadlinux-ab1660503ac3af7febfcf987648509b484d4feda.tar.xz
linux-ab1660503ac3af7febfcf987648509b484d4feda.zip
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-driver.h')
-rw-r--r--drivers/media/video/tuner-driver.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/media/video/tuner-driver.h b/drivers/media/video/tuner-driver.h
index 91913ee08a07..a215161d0241 100644
--- a/drivers/media/video/tuner-driver.h
+++ b/drivers/media/video/tuner-driver.h
@@ -24,13 +24,10 @@
#include <linux/videodev2.h>
#include <linux/i2c.h>
-#include "tuner-i2c.h"
#include "dvb_frontend.h"
extern unsigned const int tuner_count;
-struct tuner;
-
struct analog_tuner_ops {
void (*set_params)(struct dvb_frontend *fe,
struct analog_parameters *params);
@@ -69,28 +66,4 @@ struct tuner {
int (*tuner_callback) (void *dev, int command,int arg);
};
-/* ------------------------------------------------------------------------ */
-
-#define tuner_warn(fmt, arg...) do { \
- printk(KERN_WARNING "%s %d-%04x: " fmt, PREFIX, \
- i2c_adapter_id(t->i2c->adapter), t->i2c->addr, ##arg); \
- } while (0)
-
-#define tuner_info(fmt, arg...) do { \
- printk(KERN_INFO "%s %d-%04x: " fmt, PREFIX, \
- i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); \
- } while (0)
-
-#define tuner_err(fmt, arg...) do { \
- printk(KERN_ERR "%s %d-%04x: " fmt, PREFIX, \
- i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); \
- } while (0)
-
-#define tuner_dbg(fmt, arg...) do { \
- extern int tuner_debug; \
- if (tuner_debug) \
- printk(KERN_DEBUG "%s %d-%04x: " fmt, PREFIX, \
- i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); \
- } while (0)
-
#endif /* __TUNER_DRIVER_H__ */