V4L/DVB (7704): pvrusb2: Fix slop involving use of struct which might not be defined
authorMike Isely <isely@pobox.com>
Fri, 28 Mar 2008 08:43:45 +0000 (05:43 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:48 +0000 (14:09 -0300)
commit1b1b8d7841684d9d6273c479abe39d517dfb8cb8
tree07288e8fa9c7ff7103b47e82ba1f127acadb701b
parent694dca2b80d5e17f5edddacf4fcdacc1091623f2
V4L/DVB (7704): pvrusb2: Fix slop involving use of struct which might not be defined

When the DVB interface is not compiled, the pvr2_dvb_props struct is
not available - so it really should be ifdef'ed out as well.  This
didn't cause an error because in this context its usage was as an
opaque pointer.  But it really shouldn't be present at all if DVB is
not enabled.

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