summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/v4l2-dev.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-08-22 09:47:41 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-08-22 09:47:41 -0300
commit89ddb8a06ccaa14b09c81e81dbacc4ce70285129 (patch)
tree98d54c347d5a3771fdb142e3ef8ee0540aa5214c /linux/drivers/media/video/v4l2-dev.c
parent6413c9eb617e2eebe283211c0422e46bbd7289bb (diff)
parent189a39592e02ff2f9a387eff92dfc3a3a2e4ddfb (diff)
downloadmediapointer-dvb-s2-89ddb8a06ccaa14b09c81e81dbacc4ce70285129.tar.gz
mediapointer-dvb-s2-89ddb8a06ccaa14b09c81e81dbacc4ce70285129.tar.bz2
merge: http://linuxtv.org/hg/~gliakhovetski/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/v4l2-dev.c')
-rw-r--r--linux/drivers/media/video/v4l2-dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/v4l2-dev.c b/linux/drivers/media/video/v4l2-dev.c
index d97320091..594f2477f 100644
--- a/linux/drivers/media/video/v4l2-dev.c
+++ b/linux/drivers/media/video/v4l2-dev.c
@@ -316,7 +316,7 @@ int video_register_device_index(struct video_device *vfd, int type, int nr,
default:
printk(KERN_ERR "%s called with unknown type: %d\n",
__func__, type);
- return -1;
+ return -EINVAL;
}
/* pick a minor number */