diff options
author | Prabhakar Lad <prabhakar.csengg@gmail.com> | 2014-10-12 22:40:37 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-10-28 19:09:08 +0100 |
commit | 4bb1231a5f3262eec8d879386b88b4d48082fd46 (patch) | |
tree | 8f6898ac689973ad9c41f3086f62aa798c9ff324 /include/media/davinci | |
parent | [media] media: davinci: vpbe: use vb2_fop_mmap/poll (diff) | |
download | linux-4bb1231a5f3262eec8d879386b88b4d48082fd46.tar.xz linux-4bb1231a5f3262eec8d879386b88b4d48082fd46.zip |
[media] media: davinci: vpbe: use fh handling provided by v4l
this patch converts the driver to use fh handling provided by the
v4l core instead of driver doing it.
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media/davinci')
-rw-r--r-- | include/media/davinci/vpbe_display.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/media/davinci/vpbe_display.h b/include/media/davinci/vpbe_display.h index 637749a91432..06ea81576e5f 100644 --- a/include/media/davinci/vpbe_display.h +++ b/include/media/davinci/vpbe_display.h @@ -131,17 +131,6 @@ struct vpbe_display { struct osd_state *osd_device; }; -/* File handle structure */ -struct vpbe_fh { - struct v4l2_fh fh; - /* vpbe device structure */ - struct vpbe_display *disp_dev; - /* pointer to layer object for opened device */ - struct vpbe_layer *layer; - /* Indicates whether this file handle is doing IO */ - unsigned char io_allowed; -}; - struct buf_config_params { unsigned char min_numbuffers; unsigned char numbuffers[VPBE_DISPLAY_MAX_DEVICES]; |