diff options
Diffstat (limited to 'include/media/tuner.h')
-rw-r--r-- | include/media/tuner.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/tuner.h b/include/media/tuner.h index 6a8ef189e5fa..584f3ab1fcf7 100644 --- a/include/media/tuner.h +++ b/include/media/tuner.h | |||
@@ -202,7 +202,6 @@ struct tuner { | |||
202 | void (*standby)(struct i2c_client *c); | 202 | void (*standby)(struct i2c_client *c); |
203 | }; | 203 | }; |
204 | 204 | ||
205 | extern unsigned int tuner_debug; | ||
206 | extern unsigned const int tuner_count; | 205 | extern unsigned const int tuner_count; |
207 | 206 | ||
208 | extern int microtune_init(struct i2c_client *c); | 207 | extern int microtune_init(struct i2c_client *c); |
@@ -220,7 +219,8 @@ extern int tea5767_autodetection(struct i2c_client *c); | |||
220 | printk(KERN_INFO "%s %d-%04x: " fmt, t->i2c.driver->driver.name, \ | 219 | printk(KERN_INFO "%s %d-%04x: " fmt, t->i2c.driver->driver.name, \ |
221 | i2c_adapter_id(t->i2c.adapter), t->i2c.addr , ##arg); } while (0) | 220 | i2c_adapter_id(t->i2c.adapter), t->i2c.addr , ##arg); } while (0) |
222 | #define tuner_dbg(fmt, arg...) do {\ | 221 | #define tuner_dbg(fmt, arg...) do {\ |
223 | if (tuner_debug) \ | 222 | extern int debug; \ |
223 | if (debug) \ | ||
224 | printk(KERN_DEBUG "%s %d-%04x: " fmt, t->i2c.driver->driver.name, \ | 224 | printk(KERN_DEBUG "%s %d-%04x: " fmt, t->i2c.driver->driver.name, \ |
225 | i2c_adapter_id(t->i2c.adapter), t->i2c.addr , ##arg); } while (0) | 225 | i2c_adapter_id(t->i2c.adapter), t->i2c.addr , ##arg); } while (0) |
226 | 226 | ||