V4L/DVB (6553): tuner: replace default_mode_mask
commit159ffe77cd9b1cd7c80c416b5635bdad7e3d7d55
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 4 Nov 2007 13:42:42 +0000 (4 10:42 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:01:59 +0000 (25 19:01 -0200)
tree8081a98549db8ba2b4b1f17034b9c9261c9e0cbd
parenta818e1c8f7fcb42866a8630c508caddaa8edb331
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>
drivers/media/video/tuner-core.c
drivers/media/video/tuner-driver.h