summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/davinci/vpif_capture.h
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2014-05-16 15:33:45 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-24 00:29:29 +0200
commitc66238f363b3c39c6aaa85d9c938a3d17eb9a352 (patch)
tree38237a929b3daadff7bea2874c66004b0874824a /drivers/media/platform/davinci/vpif_capture.h
parent[media] media: davinci: vpif_capture: drop unnecessary field memory (diff)
downloadlinux-c66238f363b3c39c6aaa85d9c938a3d17eb9a352.tar.xz
linux-c66238f363b3c39c6aaa85d9c938a3d17eb9a352.zip
[media] media: davinic: vpif_capture: drop started member from struct common_obj
the started member was indicating whether streaming was started or not, this can be determined by vb2 offering, this patch replaces the started member from struct common_obj with appropriate vb2 calls. Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/davinci/vpif_capture.h')
-rw-r--r--drivers/media/platform/davinci/vpif_capture.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/davinci/vpif_capture.h b/drivers/media/platform/davinci/vpif_capture.h
index 9b7dd06bfb0a..4960504a5108 100644
--- a/drivers/media/platform/davinci/vpif_capture.h
+++ b/drivers/media/platform/davinci/vpif_capture.h
@@ -77,8 +77,6 @@ struct common_obj {
struct mutex lock;
/* number of users performing IO */
u32 io_usrs;
- /* Indicates whether streaming started */
- u8 started;
/* Function pointer to set the addresses */
void (*set_addr) (unsigned long, unsigned long, unsigned long,
unsigned long);