The patch number 11034 was added via Guennadi Liakhovetski 
<g.liakhovet...@gmx.de>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <linux-me...@vger.kernel.org>

------

From: Sascha Hauer  <s.ha...@pengutronix.de>
soc-camera: remove now unused gpio member of struct soc_camera_link

Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <g.liakhovet...@gmx.de>
---
 arch/arm/mach-pxa/pcm990-baseboard.c |    1 -
 include/media/soc_camera.h           |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)


---

 linux/arch/arm/mach-pxa/pcm990-baseboard.c |    1 -
 linux/include/media/soc_camera.h           |    2 --
 2 files changed, 3 deletions(-)

diff -r a20a610e3153 -r fdb88a224b96 linux/arch/arm/mach-pxa/pcm990-baseboard.c
--- a/linux/arch/arm/mach-pxa/pcm990-baseboard.c        Fri Mar 13 10:08:20 
2009 +0100
+++ b/linux/arch/arm/mach-pxa/pcm990-baseboard.c        Fri Mar 13 10:08:20 
2009 +0100
@@ -440,7 +440,6 @@ static unsigned long pcm990_camera_query
 
 static struct soc_camera_link iclink = {
        .bus_id = 0, /* Must match with the camera ID above */
-       .gpio = NR_BUILTIN_GPIO + 1,
        .query_bus_param = pcm990_camera_query_bus_param,
        .set_bus_param = pcm990_camera_set_bus_param,
 };
diff -r a20a610e3153 -r fdb88a224b96 linux/include/media/soc_camera.h
--- a/linux/include/media/soc_camera.h  Fri Mar 13 10:08:20 2009 +0100
+++ b/linux/include/media/soc_camera.h  Fri Mar 13 10:08:20 2009 +0100
@@ -95,8 +95,6 @@ struct soc_camera_link {
 struct soc_camera_link {
        /* Camera bus id, used to match a camera and a bus */
        int bus_id;
-       /* GPIO number to switch between 8 and 10 bit modes */
-       unsigned int gpio;
        /* Per camera SOCAM_SENSOR_* bus flags */
        unsigned long flags;
        /* Optional callbacks to power on or off and reset the sensor */


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/fdb88a224b96b26fbfd315011243e5c3a1da45c3

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to