summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-07-19 11:29:21 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-07-19 11:29:21 -0300
commit626a0f7a4cbba9915b2c31969a14dea5ac111f37 (patch)
tree46f36ded5329f1753d722951dfbf03fa0f5ee655 /linux/drivers/media/dvb
parentc82469cf908a2a4b541e0de5d78dab134fbdaa93 (diff)
downloadmediapointer-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/dvb')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvbdev.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.c b/linux/drivers/media/dvb/dvb-core/dvbdev.c
index 66d9ffdb4..64449de27 100644
--- a/linux/drivers/media/dvb/dvb-core/dvbdev.c
+++ b/linux/drivers/media/dvb/dvb-core/dvbdev.c
@@ -242,10 +242,6 @@ int dvb_register_device(struct dvb_adapter *adap, struct dvb_device **pdvbdev,
mutex_unlock(&dvbdev_register_lock);
- devfs_mk_cdev(MKDEV(DVB_MAJOR, nums2minor(adap->num, type, id)),
- S_IFCHR | S_IRUSR | S_IWUSR,
- "dvb/adapter%d/%s%d", adap->num, dnames[type], id);
-
class_device_create(dvb_class, NULL, MKDEV(DVB_MAJOR, nums2minor(adap->num, type, id)),
adap->device, "dvb%d.%s%d", adap->num, dnames[type], id);