diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-07-19 11:29:21 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-07-19 11:29:21 -0300 |
commit | 626a0f7a4cbba9915b2c31969a14dea5ac111f37 (patch) | |
tree | 46f36ded5329f1753d722951dfbf03fa0f5ee655 /linux/drivers/media/video/videodev.c | |
parent | c82469cf908a2a4b541e0de5d78dab134fbdaa93 (diff) | |
download | mediapointer-dvb-s2-626a0f7a4cbba9915b2c31969a14dea5ac111f37.tar.gz mediapointer-dvb-s2-626a0f7a4cbba9915b2c31969a14dea5ac111f37.tar.bz2 |
[PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree
From: Greg Kroah-Hartman <gregkh@suse.de>
Removes the devfs_mk_cdev() function and all callers of it.
kernel-sync: backport from kernel to v4l/dvb tree
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/videodev.c')
-rw-r--r-- | linux/drivers/media/video/videodev.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/drivers/media/video/videodev.c b/linux/drivers/media/video/videodev.c index a53ba94b3..e762382d7 100644 --- a/linux/drivers/media/video/videodev.c +++ b/linux/drivers/media/video/videodev.c @@ -1583,10 +1583,6 @@ int video_register_device(struct video_device *vfd, int type, int nr) video_device[i]=vfd; vfd->minor=i; mutex_unlock(&videodev_lock); - - sprintf(vfd->devfs_name, "v4l/%s%d", name_base, i - base); - devfs_mk_cdev(MKDEV(VIDEO_MAJOR, vfd->minor), - S_IFCHR | S_IRUSR | S_IWUSR, vfd->devfs_name); mutex_init(&vfd->lock); /* sysfs class */ |