lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/07] soc_camera: Remove vbq_ops and msize
- Date: Tue, 01 Jul 2008 21:47:07 +0900
- From: Magnus Damm <magnus.damm@xxxxxxxxx>
- Subject: [PATCH 03/07] soc_camera: Remove vbq_ops and msize
The struct soc_camera_host members vbq_ops and msize are not needed
anymore since we now let the soc_camera host manage the videobuf queue.
Signed-off-by: Magnus Damm <damm@xxxxxxxxxx>
---
drivers/media/video/pxa_camera.c | 2 --
include/media/soc_camera.h | 2 --
2 files changed, 4 deletions(-)
--- 0007/drivers/media/video/pxa_camera.c
+++ work/drivers/media/video/pxa_camera.c 2008-06-12 14:30:25.000000000 +0900
@@ -1018,8 +1018,6 @@ static struct soc_camera_host_ops pxa_so
/* Should be allocated dynamically too, but we have only one. */
static struct soc_camera_host pxa_soc_camera_host = {
.drv_name = PXA_CAM_DRV_NAME,
- .vbq_ops = &pxa_videobuf_ops,
- .msize = sizeof(struct pxa_buffer),
.ops = &pxa_soc_camera_host_ops,
};
--- 0007/include/media/soc_camera.h
+++ work/include/media/soc_camera.h 2008-06-12 14:30:18.000000000 +0900
@@ -55,8 +55,6 @@ struct soc_camera_host {
struct list_head list;
struct device dev;
unsigned char nr; /* Host number */
- size_t msize;
- struct videobuf_queue_ops *vbq_ops;
void *priv;
char *drv_name;
struct soc_camera_host_ops *ops;
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list