[media] radio-si4713: embed struct video_device instead of allocating it
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 8 Apr 2013 09:11:12 +0000 (06:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 22:49:25 +0000 (19:49 -0300)
commitfdf51599c0fca3dc1e45924b71e09a862f34ec78
tree991e99b75430203b86e808b839896c44a93ae5d9
parent91e20e81087c990f3f9c0074ed740e63c666071b
[media] radio-si4713: embed struct video_device instead of allocating it

Also set the v4l2_dev pointer in struct video_device as this was missing.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Tested-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-si4713.c