diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-11-04 08:42:42 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:01:59 -0500 |
commit | 159ffe77cd9b1cd7c80c416b5635bdad7e3d7d55 (patch) | |
tree | 8081a98549db8ba2b4b1f17034b9c9261c9e0cbd /drivers/media/video/tuner-driver.h | |
parent | a818e1c8f7fcb42866a8630c508caddaa8edb331 (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.h | 1 |
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 { | |||
46 | struct tuner { | 46 | struct 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 | ||