Skip to contentSkip to conversation

media_build: fix backport patches removing et61x251 hunks

PATCH In review Gianluca Gennari 2 participants 2 messages May 8, 2012 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media_build: fix backport patches removing et61x251 hunks

The old et61x251 driver has been removed:

http://git.linuxtv.org/media_tree.git/commit/04ef052419ac61f28c6b7eafbe5d8e82c02bbee2

so let's delete the related hunks from the media_build backport patches.

---
 backports/api_version.patch |    6 ------
 backports/pr_fmt.patch      |   24 ------------------------
 2 files changed, 0 insertions(+), 30 deletions(-)
backports/api_version.patch +0 -6
index 147221c..9bd9348 100644
@@ -1,9 +1,3 @@
-diff --git a/drivers/media/video/et61x251/et61x251_core.c b/drivers/media/video/et61x251/et61x251_core.c
---- a/drivers/media/video/et61x251/et61x251_core.c
-+++ b/drivers/media/video/et61x251/et61x251_core.c
-@@ -1582,1 +1582,1 @@ et61x251_vidioc_querycap(struct et61x251
--		.version = LINUX_VERSION_CODE,
-+		.version = V4L2_VERSION,
 diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
 --- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
 +++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
backports/pr_fmt.patch +0 -24
index e6db18e..5561d6f 100644
@@ -322,30 +322,6 @@ index ffd8bc7..c38d97d 100644
  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  
  #include "cx25821-video.h"
-diff --git a/drivers/media/video/et61x251/et61x251_core.c b/drivers/media/video/et61x251/et61x251_core.c
-index 5539f09..8cdf5b6 100644
---- a/drivers/media/video/et61x251/et61x251_core.c
-+++ b/drivers/media/video/et61x251/et61x251_core.c
-@@ -18,6 +18,7 @@
-  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.               *
-  ***************************************************************************/
- 
-+#undef pr_fmt
- #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
- 
- #include <linux/version.h>
-diff --git a/drivers/media/video/et61x251/et61x251_tas5130d1b.c b/drivers/media/video/et61x251/et61x251_tas5130d1b.c
-index ced2e16..3977c93 100644
---- a/drivers/media/video/et61x251/et61x251_tas5130d1b.c
-+++ b/drivers/media/video/et61x251/et61x251_tas5130d1b.c
-@@ -19,6 +19,7 @@
-  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.               *
-  ***************************************************************************/
- 
-+#undef pr_fmt
- #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
- 
- #include "et61x251_sensor.h"
 diff --git a/drivers/media/video/gspca/benq.c b/drivers/media/video/gspca/benq.c
 index 9769f17..e9b1052 100644
 --- a/drivers/media/video/gspca/benq.c
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 5 lines · On Tuesday 08 May 2012 10:42:49 Gianluca Gennari wrote:

The old et61x251 driver has been removed:

http://git.linuxtv.org/media_tree.git/commit/04ef052419ac61f28c6b7eafbe5d8e82c02bbee2

so let's delete the related hunks from the media_build backport patches.

Thanks!

Committed.

Regards,

Hans

Quoted 57 lines
---
 backports/api_version.patch |    6 ------
 backports/pr_fmt.patch      |   24 ------------------------
 2 files changed, 0 insertions(+), 30 deletions(-)
backports/api_version.patch +0 -6
index 147221c..9bd9348 100644
@@ -1,9 +1,3 @@
-diff --git a/drivers/media/video/et61x251/et61x251_core.c b/drivers/media/video/et61x251/et61x251_core.c
---- a/drivers/media/video/et61x251/et61x251_core.c
-+++ b/drivers/media/video/et61x251/et61x251_core.c
-@@ -1582,1 +1582,1 @@ et61x251_vidioc_querycap(struct et61x251
--		.version = LINUX_VERSION_CODE,
-+		.version = V4L2_VERSION,
 diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
 --- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
 +++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
backports/pr_fmt.patch +0 -24
index e6db18e..5561d6f 100644
@@ -322,30 +322,6 @@ index ffd8bc7..c38d97d 100644
  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
  #include "cx25821-video.h"
-diff --git a/drivers/media/video/et61x251/et61x251_core.c b/drivers/media/video/et61x251/et61x251_core.c
-index 5539f09..8cdf5b6 100644
---- a/drivers/media/video/et61x251/et61x251_core.c
-+++ b/drivers/media/video/et61x251/et61x251_core.c
-@@ -18,6 +18,7 @@
-  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.               *
-  ***************************************************************************/
- 
-+#undef pr_fmt
- #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
- 
- #include <linux/version.h>
-diff --git a/drivers/media/video/et61x251/et61x251_tas5130d1b.c b/drivers/media/video/et61x251/et61x251_tas5130d1b.c
-index ced2e16..3977c93 100644
---- a/drivers/media/video/et61x251/et61x251_tas5130d1b.c
-+++ b/drivers/media/video/et61x251/et61x251_tas5130d1b.c
-@@ -19,6 +19,7 @@
-  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.               *
-  ***************************************************************************/
- 
-+#undef pr_fmt
- #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
- 
- #include "et61x251_sensor.h"
 diff --git a/drivers/media/video/gspca/benq.c b/drivers/media/video/gspca/benq.c
 index 9769f17..e9b1052 100644
 --- a/drivers/media/video/gspca/benq.c