summaryrefslogtreecommitdiff
path: root/linux/include/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-12-11 17:55:44 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-12-11 17:55:44 +0000
commit2ac4714c81661373de42c676440c324fac6752fb (patch)
tree8911d5e9dac789d3f555fc415bc5213b2e33f989 /linux/include/media
parentcbf517883a8c053c6f275c2e3666281fb8b96ff5 (diff)
downloadmediapointer-dvb-s2-2ac4714c81661373de42c676440c324fac6752fb.tar.gz
mediapointer-dvb-s2-2ac4714c81661373de42c676440c324fac6752fb.tar.bz2
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 'linux/include/media')
-rw-r--r--linux/include/media/tuner.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/include/media/tuner.h b/linux/include/media/tuner.h
index 60f4d88d6..23d1b1fb1 100644
--- a/linux/include/media/tuner.h
+++ b/linux/include/media/tuner.h
@@ -1,5 +1,5 @@
/*
- $Id: tuner.h,v 1.65 2005/12/07 14:17:03 mchehab Exp $
+ $Id: tuner.h,v 1.66 2005/12/11 17:55:45 mchehab Exp $
tuner.h - definition for different tuners
Copyright (C) 1997 Markus Schroeder (schroedm@uni-duesseldorf.de)
@@ -203,14 +203,14 @@ extern int tea5767_autodetection(struct i2c_client *c);
#define tuner_warn(fmt, arg...) do {\
printk(KERN_WARNING "%s %d-%04x: " fmt, t->i2c.driver->name, \
- t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0)
+ 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, t->i2c.driver->name, \
- t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0)
+ i2c_adapter_id(t->i2c.adapter), t->i2c.addr , ##arg); } while (0)
#define tuner_dbg(fmt, arg...) do {\
if (tuner_debug) \
printk(KERN_DEBUG "%s %d-%04x: " fmt, t->i2c.driver->name, \
- t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0)
+ i2c_adapter_id(t->i2c.adapter), t->i2c.addr , ##arg); } while (0)
#endif /* __KERNEL__ */