aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/istallion.c
diff options
context:
space:
mode:
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.