1 diff -Nur ov51x-jpeg-1.5.9-old/ov51x-jpeg.h ov51x-jpeg-1.5.9/ov51x-jpeg.h
2 --- ov51x-jpeg-1.5.9-old/ov51x-jpeg.h 2009-05-04 19:42:00.000000000 +0300
3 +++ ov51x-jpeg-1.5.9/ov51x-jpeg.h 2009-05-04 19:43:01.000000000 +0300
5 #include <media/v4l2-ioctl.h>
8 +/* Add missing info and warn macros by hand for new kernels */
9 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 28)
10 +#define info(args...) printk(KERN_INFO KBUILD_MODNAME args)
11 +#define warn(args...) printk(KERN_WARNING KBUILD_MODNAME args)
14 /* --------------------------------- */
15 /* DEFINES FOR OV511 AND OTHER CHIPS */
16 /* --------------------------------- */