diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-02 18:40:57 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-02 18:40:57 +0000 |
commit | 9f7a080438022fdabe299e8fc012720f048ecc25 (patch) | |
tree | 16c899796b23a00f712081a64a8e4b2986c850a4 /linux/drivers/media/video/v4l2-dev.c | |
parent | fc1ae637b4c1b67d383b2531d6185cf048967ee0 (diff) | |
download | mediapointer-dvb-s2-9f7a080438022fdabe299e8fc012720f048ecc25.tar.gz mediapointer-dvb-s2-9f7a080438022fdabe299e8fc012720f048ecc25.tar.bz2 |
Auto-load videodev module when device opened.
From: Scott James Remnant <scott@canonical.com>
The videodev module is missing the char-major-81-* alias that would
cause it to be auto-loaded when a device of that type is opened. This
patch adds the alias.
Signed-off-by: Scott James Remnant <scott@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/v4l2-dev.c')
-rw-r--r-- | linux/drivers/media/video/v4l2-dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/v4l2-dev.c b/linux/drivers/media/video/v4l2-dev.c index 861e3194f..110cde853 100644 --- a/linux/drivers/media/video/v4l2-dev.c +++ b/linux/drivers/media/video/v4l2-dev.c @@ -654,6 +654,7 @@ module_exit(videodev_exit) MODULE_AUTHOR("Alan Cox, Mauro Carvalho Chehab <mchehab@infradead.org>"); MODULE_DESCRIPTION("Device registrar for Video4Linux drivers v2"); MODULE_LICENSE("GPL"); +MODULE_ALIAS_CHARDEV_MAJOR(VIDEO_MAJOR); /* |