]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (5102): make videodev to auto-generate standards
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 20 Jan 2007 16:58:33 +0000 (13:58 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:44 +0000 (13:34 -0200)
commit8cf2675093e6a9fcb6a66ee52458d8734e1b3ee3
treefc8aed8e06698de61bd16da9f3b71b71c461923d
parent285479e439fbea4d7ff7240092dc40f15ed3c29c
V4L/DVB (5102): make videodev to auto-generate standards

v4l2_tvnorm were meant to describe video standards and its names to V4L2 API.
However, this were doing by some static structures at the driver.

This patch changes the internals in a way that, at the driver, only a
v4l2_tvnorm (a 64 bit integer) should be filled, with all supported
tvnorms. videodev will dynamically generate the proper API array
based on supported standards.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-core.c
drivers/media/video/cx88/cx88-vbi.c
drivers/media/video/cx88/cx88-video.c
drivers/media/video/cx88/cx88.h