V4L/DVB (7296): pvrusb2: Define device attributes for all input modes
authorMike Isely <isely@pobox.com>
Tue, 22 Apr 2008 17:45:36 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:46 +0000 (14:07 -0300)
commit1aaac60fec0d3ba8043838c6eac86de987cfe5c1
treef871a94325c94b1895a1ef357d0f233ec0cbed5d
parentd068c6eec94c370a445a32f2f092c90798d47ca3
V4L/DVB (7296): pvrusb2: Define device attributes for all input modes

Different devices support different input types.  Up until now we've
really been assuming that everyone has an analog tuner, an FM radio,
composite, and s-video inputs.  But as we add other devices, these
assumptions are no longer true.  The way to deal with this is to
define the available inputs as additional device attributes, so that
the driver can adjust its internal behavior accordingly.

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