[pvrusb2] patch for kernel 2.6.21
Ingo Flaschberger
if at xip.at
Sat Apr 28 18:05:42 CDT 2007
Hi Mike,
> Well that is interesting, and yes I apparently misunderstood when that
> change was coming. Obviously you found the easy fix :-)
>
> I've got a short list of minor changes to get into the driver; I'll try
> to get a new snapshot out this weekend.
something in the last release breaks with linux 2.6.15-4 kernels.
---snip---
make --directory driver
make: Entering directory `/oldroot/usr/src/pvrusb2-mci-20070428/driver'
make INSTALL_MOD_DIR=pvrusb2 -C /lib/modules/2.6.15.4/source
M=/oldroot/usr/src/pvrusb2-mci-20070428/driver CONFIG_VIDEO_PVRUSB2=m
CONFIG_VIDEO_PVRUSB2_24XXX=y CONFIG_VIDEO_PVRUSB2_SYSFS=y
CONFIG_VIDEO_PVRUSB2_DEBUGIFC=y CONFIG_VIDEO_ADV_DEBUG=y modules
make[1]: Entering directory `/oldroot/usr/src/linux-2.6.15.4'
CC [M] /oldroot/usr/src/pvrusb2-mci-20070428/driver/pvrusb2-hdw.o
/oldroot/usr/src/pvrusb2-mci-20070428/driver/pvrusb2-hdw.c:100: warning:
type defaults to `int' in declaration of `DEFINE_MUTEX'
/oldroot/usr/src/pvrusb2-mci-20070428/driver/pvrusb2-hdw.c:100: warning:
parameter names (without types) in function declaration
/oldroot/usr/src/pvrusb2-mci-20070428/driver/pvrusb2-hdw.c: In function
`pvr2_hdw_create':
/oldroot/usr/src/pvrusb2-mci-20070428/driver/pvrusb2-hdw.c:2501: error:
`pvr2_unit_mtx' undeclared (first use in this function)
/oldroot/usr/src/pvrusb2-mci-20070428/driver/pvrusb2-hdw.c:2501: error:
(Each undeclared identifier is reported only once
/oldroot/usr/src/pvrusb2-mci-20070428/driver/pvrusb2-hdw.c:2501: error:
for each function it appears in.)
/oldroot/usr/src/pvrusb2-mci-20070428/driver/pvrusb2-hdw.c: In function
`pvr2_hdw_destroy':
/oldroot/usr/src/pvrusb2-mci-20070428/driver/pvrusb2-hdw.c:2613: error:
`pvr2_unit_mtx' undeclared (first use in this function)
/oldroot/usr/src/pvrusb2-mci-20070428/driver/pvrusb2-hdw.c: At top level:
/oldroot/usr/src/pvrusb2-mci-20070428/driver/pvrusb2-hdw.c:100: warning:
`DEFINE_MUTEX' declared `static' but never defined
make[2]: *** [/oldroot/usr/src/pvrusb2-mci-20070428/driver/pvrusb2-hdw.o]
Error 1
make[1]: *** [_module_/oldroot/usr/src/pvrusb2-mci-20070428/driver] Error
2
make[1]: Leaving directory `/oldroot/usr/src/linux-2.6.15.4'
make: *** [modules] Error 2
---snap---
pvrusb2-mci-20070407 compiles without problems.
bye,
Ingo
More information about the pvrusb2
mailing list