]> git.baikalelectronics.ru Git - kernel.git/commit
[media] zr364xx: embed video_device and register it at the end of probe
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 2 Jun 2012 09:32:48 +0000 (06:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Jun 2012 14:23:09 +0000 (11:23 -0300)
commit97e6f46008f205354e876ac81342bebef4356e7c
tree714959ab55ca15878f56f5b71f428914e64505ab
parent9f0cddc27ba0e6283670c5d42f0b7afca8a2ad84
[media] zr364xx: embed video_device and register it at the end of probe

Embed the video_device struct instead of allocating it and register it as
the last thing in probe().

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/zr364xx.c