aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/viotape.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-26 15:25:07 -0400
commit7c69ef79741910883d5543caafa06aca3ebadbd1 (patch)
tree655d3f60abee0195d0aadb2c86ab04ccca89a307 /drivers/char/viotape.c
parent1a715c5cf917326a285533d1116d725f5f2593c2 (diff)
[PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree
Removes the devfs_mk_cdev() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/viotape.c')
-rw-r--r--drivers/char/viotape.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c
index ebc337acca15..4c1a128fd77b 100644
--- a/drivers/char/viotape.c
+++ b/drivers/char/viotape.c
@@ -958,10 +958,6 @@ static int viotape_probe(struct vio_dev *vdev, const struct vio_device_id *id)
958 "iseries!vt%d", i); 958 "iseries!vt%d", i);
959 class_device_create(tape_class, NULL, MKDEV(VIOTAPE_MAJOR, i | 0x80), 959 class_device_create(tape_class, NULL, MKDEV(VIOTAPE_MAJOR, i | 0x80),
960 NULL, "iseries!nvt%d", i); 960 NULL, "iseries!nvt%d", i);
961 devfs_mk_cdev(MKDEV(VIOTAPE_MAJOR, i), S_IFCHR | S_IRUSR | S_IWUSR,
962 "iseries/vt%d", i);
963 devfs_mk_cdev(MKDEV(VIOTAPE_MAJOR, i | 0x80),
964 S_IFCHR | S_IRUSR | S_IWUSR, "iseries/nvt%d", i);
965 sprintf(tapename, "iseries/vt%d", i); 961 sprintf(tapename, "iseries/vt%d", i);
966 printk(VIOTAPE_KERN_INFO "tape %s is iSeries " 962 printk(VIOTAPE_KERN_INFO "tape %s is iSeries "
967 "resource %10.10s type %4.4s, model %3.3s\n", 963 "resource %10.10s type %4.4s, model %3.3s\n",