]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
V4L/DVB (8682): V4L: fix return value of register video func
authorHenrik Kretzschmar <henne@nachtwindheim.de>
Wed, 3 Sep 2008 19:47:39 +0000 (16:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 3 Sep 2008 21:36:42 +0000 (18:36 -0300)
commit46f2c21cfdb1a829a9a23e23562ffa66b007dc48
tree68163eb5a3f74d2397bd30cf33a81355799a1ca4
parentb045979d61b235cd9cc8347760fcfb44fc8ecbd6
V4L/DVB (8682): V4L: fix return value of register video func

If a wrong device type is used with video_register_device_index() it should
better return an error number, instead of a constant.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/v4l2-dev.c