[media] em28xx: embed video_device
Embed the video_device struct to simplify the error handling and in order to (eventually) get rid of video_device_alloc/release. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Mauro Carvalho Chehab

vecāks
23fb4c5ea1
revīzija
d4352f3639
@@ -513,9 +513,9 @@ struct em28xx_v4l2 {
|
||||
struct v4l2_ctrl_handler ctrl_handler;
|
||||
struct v4l2_clk *clk;
|
||||
|
||||
struct video_device *vdev;
|
||||
struct video_device *vbi_dev;
|
||||
struct video_device *radio_dev;
|
||||
struct video_device vdev;
|
||||
struct video_device vbi_dev;
|
||||
struct video_device radio_dev;
|
||||
|
||||
/* Videobuf2 */
|
||||
struct vb2_queue vb_vidq;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user