aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/stallion.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/stallion.c')
-rw-r--r--drivers/char/stallion.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c
index c090a63fbdea..a1a68f90d803 100644
--- a/drivers/char/stallion.c
+++ b/drivers/char/stallion.c
@@ -3071,14 +3071,10 @@ static int __init stl_init(void)
3071 printk("STALLION: failed to register serial board device\n"); 3071 printk("STALLION: failed to register serial board device\n");
3072 3072
3073 stallion_class = class_create(THIS_MODULE, "staliomem"); 3073 stallion_class = class_create(THIS_MODULE, "staliomem");
3074 for (i = 0; i < 4; i++) { 3074 for (i = 0; i < 4; i++)
3075 devfs_mk_cdev(MKDEV(STL_SIOMEMMAJOR, i),
3076 S_IFCHR|S_IRUSR|S_IWUSR,
3077 "staliomem/%d", i);
3078 class_device_create(stallion_class, NULL, 3075 class_device_create(stallion_class, NULL,
3079 MKDEV(STL_SIOMEMMAJOR, i), NULL, 3076 MKDEV(STL_SIOMEMMAJOR, i), NULL,
3080 "staliomem%d", i); 3077 "staliomem%d", i);
3081 }
3082 3078
3083 stl_serial->owner = THIS_MODULE; 3079 stl_serial->owner = THIS_MODULE;
3084 stl_serial->driver_name = stl_drvname; 3080 stl_serial->driver_name = stl_drvname;