# HG changeset patch # User AngelCarpintero # Date 1223857570 0 # Node ID bce647a9dd4be1e89da93be76968535a53b2e355 # Parent 00bb25bff5777a17f72b3fca1c26e88671a1ba07 Some changes to allow working with stock kernel 2.6.27 diff -r 00bb25bff577 -r bce647a9dd4b Makefile --- a/Makefile Sun Aug 31 17:28:08 2008 +0000 +++ b/Makefile Mon Oct 13 00:26:10 2008 +0000 @@ -41,7 +41,7 @@ rm -f $(DEST)/$(MODULENAME).ko -/sbin/depmod -a clean: - rm -f .*.cmd *.o *.mod.c *.ko .v* *~ core Modules.symvers Module.symvers + rm -f .*.cmd *.o *.mod.c *.ko .v* *~ core Modules.symvers Module.symvers modules.order rm -rf .tmp_versions/ rm -f example/dummy example/feed example/resize example/invert diff -r 00bb25bff577 -r bce647a9dd4b vloopback.c --- a/vloopback.c Sun Aug 31 17:28:08 2008 +0000 +++ b/vloopback.c Mon Oct 13 00:26:10 2008 +0000 @@ -145,6 +145,10 @@ * 24.08.08 (Angel Carpintero) * Added compat_iotcl32 init in fopsl, replace tabs by 4 spaces in source code, * add number of buffers as module param. + * + * 13.10.09 (Stephan Berberig & Angel Carpintero) + * Release to work on 2.6.27 , allow v4l_compat_ioctl32 work in 2.6.27 and a little cleanup + * in Makefile. */ @@ -161,6 +165,11 @@ #include #endif +/* v4l_compat_ioctl32 */ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27) + #include +#endif + #include #include #include