diff -u ov51x-jpeg-1.5.4/debian/changelog ov51x-jpeg-1.5.4/debian/changelog --- ov51x-jpeg-1.5.4/debian/changelog +++ ov51x-jpeg-1.5.4/debian/changelog @@ -1,3 +1,10 @@ +ov51x-jpeg (1.5.4-1ubuntu1) hardy; urgency=low + + * Fix compilation on 2.6.24 kernels. (LP: #190450). This patch is included + in the 1.5.5 upstream release. + + -- James Westby Sat, 19 Apr 2008 23:51:44 +0100 + ov51x-jpeg (1.5.4-1) unstable; urgency=low * New upstream release only in patch2: unchanged: --- ov51x-jpeg-1.5.4.orig/ov51x-jpeg-core.c +++ ov51x-jpeg-1.5.4/ov51x-jpeg-core.c @@ -6583,7 +6583,9 @@ .owner = THIS_MODULE, .name = "OV511 USB Camera", .type = VID_TYPE_CAPTURE, +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24) .hardware = VID_HARDWARE_OV511, +#endif .open = ov51x_v4l1_open, .close = ov51x_v4l1_close, .read = ov51x_v4l1_read, @@ -6608,7 +6610,9 @@ .owner = THIS_MODULE, .name = "OV51x USB Camera", .type = VID_TYPE_CAPTURE, +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24) .hardware = VID_HARDWARE_OV511, +#endif .fops = &ov511_fops, .release = video_device_release, .minor = -1,