[PATCH] media_build: add uvc_driver.c to no_atomic_include backport patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This pull request:

http://patchwork.linuxtv.org/patch/10122/

and in particular this patch:

Andrew Morton (1):
      uvcvideo: uvc_driver.c: use linux/atomic.h

includes the header file linux/atomic.h in file uvc_driver.c, breaking the
media_build tree compilation on all kernels up to 3.0.

To fix the problem, let's remove the included file adding a new chunk for
uvc_driver.c in the existing no_atomic_include.patch backport patch.

Tested with kernel 2.6.32.

Signed-off-by: Gianluca Gennari <gennarone@xxxxxxxxx>
---
 backports/no_atomic_include.patch |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/backports/no_atomic_include.patch b/backports/no_atomic_include.patch
index c14c55d..d063734 100644
--- a/backports/no_atomic_include.patch
+++ b/backports/no_atomic_include.patch
@@ -16,6 +16,12 @@ index 10c2364..74587fa 100644
 +++ b/drivers/media/video/uvc/uvc_ctrl.c
 @@ -23 +22,0 @@
 -#include <linux/atomic.h>
+diff --git a/drivers/media/video/uvc/uvc_driver.c b/drivers/media/video/uvc/uvc_driver.c
+index c029535..d143339 100644
+--- a/drivers/media/video/uvc/uvc_driver.c
++++ b/drivers/media/video/uvc/uvc_driver.c
+@@ -26 +25,0 @@
+-#include <linux/atomic.h>
 diff --git a/drivers/media/video/uvc/uvc_queue.c b/drivers/media/video/uvc/uvc_queue.c
 index 677691c..a123a2f 100644
 --- a/drivers/media/video/uvc/uvc_queue.c
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux