diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 12:25:27 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 12:25:27 -0500 |
commit | 7e57819169d4f9a1d7af55fb645ece3fb981e2e3 (patch) | |
tree | 305775cb673de02f70aa6d169e2c0fa94b40d8e3 /include | |
parent | 70f00044a2107a2c7d654bf1d3e0494f77777f47 (diff) |
V4L/DVB (3167): added ntsc parameter to tuner and more standardized debugs
- Debug message changed to be coherent with other modules
- added ntsc parameter
- parameters moved to the beginning at the file
- tuner_status moved to a better position.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/tuner.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/media/tuner.h b/include/media/tuner.h index 567f05549e3a..b39e908cd068 100644 --- a/include/media/tuner.h +++ b/include/media/tuner.h | |||
@@ -202,15 +202,15 @@ extern int tea5767_autodetection(struct i2c_client *c); | |||
202 | 202 | ||
203 | #define tuner_warn(fmt, arg...) do {\ | 203 | #define tuner_warn(fmt, arg...) do {\ |
204 | printk(KERN_WARNING "%s %d-%04x: " fmt, t->i2c.driver->driver.name, \ | 204 | printk(KERN_WARNING "%s %d-%04x: " fmt, t->i2c.driver->driver.name, \ |
205 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) | 205 | i2c_adapter_id(t->i2c.adapter), t->i2c.addr , ##arg); } while (0) |
206 | |||
206 | #define tuner_info(fmt, arg...) do {\ | 207 | #define tuner_info(fmt, arg...) do {\ |
207 | printk(KERN_INFO "%s %d-%04x: " fmt, t->i2c.driver->driver.name, \ | 208 | printk(KERN_INFO "%s %d-%04x: " fmt, t->i2c.driver->driver.name, \ |
208 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) | 209 | i2c_adapter_id(t->i2c.adapter), t->i2c.addr , ##arg); } while (0) |
209 | #define tuner_dbg(fmt, arg...) do {\ | 210 | #define tuner_dbg(fmt, arg...) do {\ |
210 | if (tuner_debug) \ | 211 | if (tuner_debug) \ |
211 | printk(KERN_DEBUG "%s %d-%04x: " fmt, \ | 212 | printk(KERN_DEBUG "%s %d-%04x: " fmt, t->i2c.driver->driver.name, \ |
212 | t->i2c.driver->driver.name, \ | 213 | i2c_adapter_id(t->i2c.adapter), t->i2c.addr , ##arg); } while (0) |
213 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) | ||
214 | 214 | ||
215 | #endif /* __KERNEL__ */ | 215 | #endif /* __KERNEL__ */ |
216 | 216 | ||