summaryrefslogtreecommitdiffstats
path: root/recipes-core/udev/udev/udev-166-v4l1-1.patch
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2012-03-24 18:23:00 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2012-03-24 18:28:14 +0000
commitd75b5339c2721ac32156ac5481628d8a40ad6d22 (patch)
treede5552d01597fc213529b6faedc60961e85c57ab /recipes-core/udev/udev/udev-166-v4l1-1.patch
parent0485c60ff7794de5a2f2af0ddb9e8e6b78ecdbc1 (diff)
downloadmeta-fsl-arm-d75b5339c2721ac32156ac5481628d8a40ad6d22.tar.gz
udev: remove OE-Core 164 release
OE-Core will be branching to Yocto's 2012 first release soon and udev version won't be change until that. We are currently focusing this release and removing this duplicated source avoids the need of udev fixes done in Yocto's branch to be backported. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core/udev/udev/udev-166-v4l1-1.patch')
-rw-r--r--recipes-core/udev/udev/udev-166-v4l1-1.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/recipes-core/udev/udev/udev-166-v4l1-1.patch b/recipes-core/udev/udev/udev-166-v4l1-1.patch
deleted file mode 100644
index 2086fe1..0000000
--- a/recipes-core/udev/udev/udev-166-v4l1-1.patch
+++ /dev/null
@@ -1,50 +0,0 @@
1Upstream-Status: Backport
2
3Submitted By: Matt Burgess <matthew_at_linuxfromscratch_dot_org>
4Date: 2011-03-26
5Initial Package Version: 166
6Upstream Status: From upstream
7Origin: http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=4ace8a43ac2cbbd4d6f5c29fc461c3caa8f8545b
8Description: Fixes a compilation error caused by the removal of the
9 Video for Linux 1 API from Linux kernels from 2.6.38
10 onwards.
11
12diff -Naur udev-166.orig/extras/v4l_id/v4l_id.c udev-166/extras/v4l_id/v4l_id.c
13--- udev-166.orig/extras/v4l_id/v4l_id.c 2009-12-03 12:45:03.000000000 +0000
14+++ udev-166/extras/v4l_id/v4l_id.c 2011-03-25 20:26:33.000000000 +0000
15@@ -28,7 +28,6 @@
16 #include <sys/types.h>
17 #include <sys/time.h>
18 #include <sys/ioctl.h>
19-#include <linux/videodev.h>
20 #include <linux/videodev2.h>
21
22 int main (int argc, char *argv[])
23@@ -39,7 +38,6 @@
24 };
25 int fd;
26 char *device;
27- struct video_capability v1cap;
28 struct v4l2_capability v2cap;
29
30 while (1) {
31@@ -82,19 +80,6 @@
32 if ((v2cap.capabilities & V4L2_CAP_RADIO) > 0)
33 printf("radio:");
34 printf("\n");
35- } else if (ioctl (fd, VIDIOCGCAP, &v1cap) == 0) {
36- printf("ID_V4L_VERSION=1\n");
37- printf("ID_V4L_PRODUCT=%s\n", v1cap.name);
38- printf("ID_V4L_CAPABILITIES=:");
39- if ((v1cap.type & VID_TYPE_CAPTURE) > 0)
40- printf("capture:");
41- if ((v1cap.type & VID_TYPE_OVERLAY) > 0)
42- printf("video_overlay:");
43- if (v1cap.audios > 0)
44- printf("audio:");
45- if ((v1cap.type & VID_TYPE_TUNER) > 0)
46- printf("tuner:");
47- printf("\n");
48 }
49
50 close (fd);