V4L/DVB (4376): Make it possible for run-time calculation of control min/max in pvrusb2
authorMike Isely <isely@pobox.com>
Tue, 8 Aug 2006 12:10:07 +0000 (09:10 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 26 Sep 2006 14:53:20 +0000 (11:53 -0300)
commit89ebd63fdddc83fabb5cc751d0e59a1350c1627c
treec5d3956965dbb8b62cf9f06f480b06a7e58274fe
parente95a191566685530ef49b702bbce0a33c57c3136
V4L/DVB (4376): Make it possible for run-time calculation of control min/max in pvrusb2

The internal control implementation in the pvrusb2 driver normally
encodes integer range limits using literal values in a const
structure.  This change adds two function pointers, which if not null
will be called through in order to determine integer min / max
values.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-ctrl.c
drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h