summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer2009-03-13 10:08:20 +0100
committerMauro Carvalho Chehab2009-03-30 17:43:22 +0200
commitd42574d1d26a17b5c4a3e9d5cbd2e5cacfd550fa (patch)
tree61fb5734f00ea84d3673c99d91630c449426d3cf
parentV4L/DVB (11033): mt9v022: allow setting of bus width from board code (diff)
downloadkernel-qcow2-linux-d42574d1d26a17b5c4a3e9d5cbd2e5cacfd550fa.tar.gz
kernel-qcow2-linux-d42574d1d26a17b5c4a3e9d5cbd2e5cacfd550fa.tar.xz
kernel-qcow2-linux-d42574d1d26a17b5c4a3e9d5cbd2e5cacfd550fa.zip
V4L/DVB (11034): soc-camera: remove now unused gpio member of struct soc_camera_link
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--arch/arm/mach-pxa/pcm990-baseboard.c1
-rw-r--r--include/media/soc_camera.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/pcm990-baseboard.c b/arch/arm/mach-pxa/pcm990-baseboard.c
index 90a399075ff6..6112740b4ae9 100644
--- a/arch/arm/mach-pxa/pcm990-baseboard.c
+++ b/arch/arm/mach-pxa/pcm990-baseboard.c
@@ -421,7 +421,6 @@ static unsigned long pcm990_camera_query_bus_param(struct soc_camera_link *link)
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 --git a/include/media/soc_camera.h b/include/media/soc_camera.h
index b44fa0952ad9..37013688af44 100644
--- a/include/media/soc_camera.h
+++ b/include/media/soc_camera.h
@@ -95,8 +95,6 @@ struct soc_camera_host_ops {
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 */