]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c801942960576b68438e8b2833b842f84851dd4
tree07288e8fa9c7ff7103b47e82ba1f127acadb701b
parent46b98404142adebd5ccd661eba6de7738668a04c
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