summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0003-V4L-Int-if-Dummy-slave.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-18 15:32:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-18 15:36:06 +0000
commit673abd92f999829bdd67d0273c43570a62123a63 (patch)
tree63132d1ffc1cb5bf50d244b184ca8d58a9cbc85c /meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0003-V4L-Int-if-Dummy-slave.patch
parentfed61beb31c47e2d96af905a7047fe78d64c9bd0 (diff)
downloadopenembedded-core-673abd92f999829bdd67d0273c43570a62123a63.tar.gz
openembedded-core-673abd92f999829bdd67d0273c43570a62123a63.tar.bz2
openembedded-core-673abd92f999829bdd67d0273c43570a62123a63.tar.xz
openembedded-core-673abd92f999829bdd67d0273c43570a62123a63.zip
conf/machine: Drop older machines with no recent updates
These are all moving to meta-extras. Ideally in the future machines such as these will be maintained to topic specific layers as we move to a more layer oriented model. If this causes a problem for anyone please discuss it on the mailing list. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0003-V4L-Int-if-Dummy-slave.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0003-V4L-Int-if-Dummy-slave.patch61
1 files changed, 0 insertions, 61 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0003-V4L-Int-if-Dummy-slave.patch b/meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0003-V4L-Int-if-Dummy-slave.patch
deleted file mode 100644
index 829810fab..000000000
--- a/meta/recipes-kernel/linux/linux-omap-2.6.29/isp/v4l/0003-V4L-Int-if-Dummy-slave.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From cc1d76e0f50321e80f7f50e9e214de2c9a45628a Mon Sep 17 00:00:00 2001
-From: Sakari Ailus <sakari.ailus@nokia.com>
-Date: Wed, 22 Oct 2008 18:41:20 +0300
-Subject: [PATCH] V4L: Int if: Dummy slave
-
-This patch implements a dummy slave that has no functionality. Helps
-managing slaves in the OMAP 3 camera driver; no need to check for NULL
-pointers.
-
-Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
----
- drivers/media/video/v4l2-int-device.c | 19 +++++++++++++++++++
- include/media/v4l2-int-device.h | 2 ++
- 2 files changed, 21 insertions(+), 0 deletions(-)
-
-diff --git a/drivers/media/video/v4l2-int-device.c b/drivers/media/video/v4l2-int-device.c
-index eb8dc84..483ee2e 100644
---- a/drivers/media/video/v4l2-int-device.c
-+++ b/drivers/media/video/v4l2-int-device.c
-@@ -67,6 +67,25 @@ static void __v4l2_int_device_try_attach_all(void)
- }
- }
-
-+static struct v4l2_int_slave dummy_slave = {
-+ /* Dummy pointer to avoid underflow in find_ioctl. */
-+ .ioctls = (void *)sizeof(struct v4l2_int_ioctl_desc),
-+ .num_ioctls = 0,
-+};
-+
-+static struct v4l2_int_device dummy = {
-+ .type = v4l2_int_type_slave,
-+ .u = {
-+ .slave = &dummy_slave,
-+ },
-+};
-+
-+struct v4l2_int_device *v4l2_int_device_dummy()
-+{
-+ return &dummy;
-+}
-+EXPORT_SYMBOL_GPL(v4l2_int_device_dummy);
-+
- void v4l2_int_device_try_attach_all(void)
- {
- mutex_lock(&mutex);
-diff --git a/include/media/v4l2-int-device.h b/include/media/v4l2-int-device.h
-index fbf5855..5d254c4 100644
---- a/include/media/v4l2-int-device.h
-+++ b/include/media/v4l2-int-device.h
-@@ -84,6 +84,8 @@ struct v4l2_int_device {
- void *priv;
- };
-
-+struct v4l2_int_device *v4l2_int_device_dummy(void);
-+
- void v4l2_int_device_try_attach_all(void);
-
- int v4l2_int_device_register(struct v4l2_int_device *d);
---
-1.5.6.5
-