]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
V4L/DVB (11034): soc-camera: remove now unused gpio member of struct soc_camera_link
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 13 Mar 2009 09:08:20 +0000 (06:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:22 +0000 (12:43 -0300)
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>
arch/arm/mach-pxa/pcm990-baseboard.c
include/media/soc_camera.h

index 90a399075ff681250cede202a4861adf111ea232..6112740b4ae9c88ac213b7e4f89ad2b7cf7730af 100644 (file)
@@ -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,
 };
index b44fa0952ad9aa497ba594c83a8a1fbcdfb3fb9d..37013688af44b64c8107e94fa7e416411e69dcfa 100644 (file)
@@ -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 */