diff options
Diffstat (limited to 'drivers/media/video/tuner-driver.h')
-rw-r--r-- | drivers/media/video/tuner-driver.h | 27 |
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 @@ | |||
24 | 24 | ||
25 | #include <linux/videodev2.h> | 25 | #include <linux/videodev2.h> |
26 | #include <linux/i2c.h> | 26 | #include <linux/i2c.h> |
27 | #include "tuner-i2c.h" | ||
28 | #include "dvb_frontend.h" | 27 | #include "dvb_frontend.h" |
29 | 28 | ||
30 | extern unsigned const int tuner_count; | 29 | extern unsigned const int tuner_count; |
31 | 30 | ||
32 | struct tuner; | ||
33 | |||
34 | struct analog_tuner_ops { | 31 | struct analog_tuner_ops { |
35 | void (*set_params)(struct dvb_frontend *fe, | 32 | void (*set_params)(struct dvb_frontend *fe, |
36 | struct analog_parameters *params); | 33 | struct analog_parameters *params); |
@@ -69,28 +66,4 @@ struct tuner { | |||
69 | int (*tuner_callback) (void *dev, int command,int arg); | 66 | int (*tuner_callback) (void *dev, int command,int arg); |
70 | }; | 67 | }; |
71 | 68 | ||
72 | /* ------------------------------------------------------------------------ */ | ||
73 | |||
74 | #define tuner_warn(fmt, arg...) do { \ | ||
75 | printk(KERN_WARNING "%s %d-%04x: " fmt, PREFIX, \ | ||
76 | i2c_adapter_id(t->i2c->adapter), t->i2c->addr, ##arg); \ | ||
77 | } while (0) | ||
78 | |||
79 | #define tuner_info(fmt, arg...) do { \ | ||
80 | printk(KERN_INFO "%s %d-%04x: " fmt, PREFIX, \ | ||
81 | i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); \ | ||
82 | } while (0) | ||
83 | |||
84 | #define tuner_err(fmt, arg...) do { \ | ||
85 | printk(KERN_ERR "%s %d-%04x: " fmt, PREFIX, \ | ||
86 | i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); \ | ||
87 | } while (0) | ||
88 | |||
89 | #define tuner_dbg(fmt, arg...) do { \ | ||
90 | extern int tuner_debug; \ | ||
91 | if (tuner_debug) \ | ||
92 | printk(KERN_DEBUG "%s %d-%04x: " fmt, PREFIX, \ | ||
93 | i2c_adapter_id(t->i2c->adapter), t->i2c->addr , ##arg); \ | ||
94 | } while (0) | ||
95 | |||
96 | #endif /* __TUNER_DRIVER_H__ */ | 69 | #endif /* __TUNER_DRIVER_H__ */ |