[pvrusb2] pvrusb2 with 2.6.35-rc4

devsk funtoos at yahoo.com
Mon Jul 5 14:33:02 CDT 2010


Mike,

I was trying to build 2.6.35-rc4 for other reasons but ran into this compile 
error while building my usual out-of-kernel modules:

Any ideas? Any quick patches?

  CC [M]  /usr/src/pvrusb2-mci-20100425/driver/pvrusb2-v4l2.o
/usr/src/pvrusb2-mci-20100425/driver/pvrusb2-v4l2.c: In function 
'pvr2_v4l2_do_ioctl':
/usr/src/pvrusb2-mci-20100425/driver/pvrusb2-v4l2.c:320: error: incompatible 
type for argument 2 of 'v4l2_prio_check'
include/media/v4l2-common.h:94: note: expected 'enum v4l2_priority' but argument 
is of type 'enum v4l2_priority *'
/usr/src/pvrusb2-mci-20100425/driver/pvrusb2-v4l2.c: In function 
'pvr2_v4l2_release':
/usr/src/pvrusb2-mci-20100425/driver/pvrusb2-v4l2.c:1217: error: incompatible 
type for argument 2 of 'v4l2_prio_close'
include/media/v4l2-common.h:92: note: expected 'enum v4l2_priority' but argument 
is of type 'enum v4l2_priority *'
make[2]: *** [/usr/src/pvrusb2-mci-20100425/driver/pvrusb2-v4l2.o] Error 1
make[1]: *** [_module_/usr/src/pvrusb2-mci-20100425/driver] Error 2

BTW: How old (or new) is the in-kernel module? That builds fine with the kernel. 
How can that be? Are there patches in the in-kernel version which are not in 
0425 version?

Thanks,
-devsk



      


More information about the pvrusb2 mailing list