aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-driver.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-11-04 08:42:42 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:01:59 -0500
commit159ffe77cd9b1cd7c80c416b5635bdad7e3d7d55 (patch)
tree8081a98549db8ba2b4b1f17034b9c9261c9e0cbd /drivers/media/video/tuner-driver.h
parenta818e1c8f7fcb42866a8630c508caddaa8edb331 (diff)
V4L/DVB (6553): tuner: replace default_mode_mask
The default_mode_mask global is replaced by a list of tuner structs. The tuner driver now walks that list to see which radio and/or tv tuner devices are registered to a given i2c adapter. The default_mode_mask global had to go since this is no longer supported with the new bus-based I2C API. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-driver.h b/drivers/media/video/tuner-driver.h
index 1c60229dcd0a..3ff2943ecc11 100644
--- a/drivers/media/video/tuner-driver.h
+++ b/drivers/media/video/tuner-driver.h
@@ -46,6 +46,7 @@ struct analog_tuner_ops {
46struct tuner { 46struct tuner {
47 /* device */ 47 /* device */
48 struct i2c_client *i2c; 48 struct i2c_client *i2c;
49 struct list_head list; /* list of tuners */
49 50
50 unsigned int type; /* chip type */ 51 unsigned int type; /* chip type */
51 52