aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/istallion.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/istallion.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/istallion.c')
-rw-r--r--drivers/char/istallion.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/char/istallion.c b/drivers/char/istallion.c
index d5054ea47472..1395d4a5204e 100644
--- a/drivers/char/istallion.c
+++ b/drivers/char/istallion.c
@@ -5214,14 +5214,10 @@ int __init stli_init(void)
5214 "device\n"); 5214 "device\n");
5215 5215
5216 istallion_class = class_create(THIS_MODULE, "staliomem"); 5216 istallion_class = class_create(THIS_MODULE, "staliomem");
5217 for (i = 0; i < 4; i++) { 5217 for (i = 0; i < 4; i++)
5218 devfs_mk_cdev(MKDEV(STL_SIOMEMMAJOR, i),
5219 S_IFCHR | S_IRUSR | S_IWUSR,
5220 "staliomem/%d", i);
5221 class_device_create(istallion_class, NULL, 5218 class_device_create(istallion_class, NULL,
5222 MKDEV(STL_SIOMEMMAJOR, i), 5219 MKDEV(STL_SIOMEMMAJOR, i),
5223 NULL, "staliomem%d", i); 5220 NULL, "staliomem%d", i);
5224 }
5225 5221
5226/* 5222/*
5227 * Set up the tty driver structure and register us as a driver. 5223 * Set up the tty driver structure and register us as a driver.