aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/tuner-driver.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-11-04 10:42:42 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:01:59 -0200
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 1c60229dcd0..3ff2943ecc1 100644
--- a/drivers/media/video/tuner-driver.h
+++ b/drivers/media/video/tuner-driver.h
@@ -46,6 +46,7 @@ struct analog_tuner_ops {
struct tuner {
/* device */
struct i2c_client *i2c;
+ struct list_head list; /* list of tuners */
unsigned int type; /* chip type */