diff options
author | Prabhakar Lad <prabhakar.csengg@gmail.com> | 2014-10-12 16:40:37 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-10-28 14:09:08 -0400 |
commit | 4bb1231a5f3262eec8d879386b88b4d48082fd46 (patch) | |
tree | 8f6898ac689973ad9c41f3086f62aa798c9ff324 /include/media | |
parent | 266c9c2d33ec8382470affe1eef90cd757dfefdd (diff) |
[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')
-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 { | |||
131 | struct osd_state *osd_device; | 131 | struct osd_state *osd_device; |
132 | }; | 132 | }; |
133 | 133 | ||
134 | /* File handle structure */ | ||
135 | struct vpbe_fh { | ||
136 | struct v4l2_fh fh; | ||
137 | /* vpbe device structure */ | ||
138 | struct vpbe_display *disp_dev; | ||
139 | /* pointer to layer object for opened device */ | ||
140 | struct vpbe_layer *layer; | ||
141 | /* Indicates whether this file handle is doing IO */ | ||
142 | unsigned char io_allowed; | ||
143 | }; | ||
144 | |||
145 | struct buf_config_params { | 134 | struct buf_config_params { |
146 | unsigned char min_numbuffers; | 135 | unsigned char min_numbuffers; |
147 | unsigned char numbuffers[VPBE_DISPLAY_MAX_DEVICES]; | 136 | unsigned char numbuffers[VPBE_DISPLAY_MAX_DEVICES]; |