diff options
Diffstat (limited to 'drivers/char/stallion.c')
-rw-r--r-- | drivers/char/stallion.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c index 951545a6ef2d..1c686414e0a1 100644 --- a/drivers/char/stallion.c +++ b/drivers/char/stallion.c | |||
@@ -3095,7 +3095,9 @@ static int __init stl_init(void) | |||
3095 | devfs_mk_cdev(MKDEV(STL_SIOMEMMAJOR, i), | 3095 | devfs_mk_cdev(MKDEV(STL_SIOMEMMAJOR, i), |
3096 | S_IFCHR|S_IRUSR|S_IWUSR, | 3096 | S_IFCHR|S_IRUSR|S_IWUSR, |
3097 | "staliomem/%d", i); | 3097 | "staliomem/%d", i); |
3098 | class_device_create(stallion_class, MKDEV(STL_SIOMEMMAJOR, i), NULL, "staliomem%d", i); | 3098 | class_device_create(stallion_class, NULL, |
3099 | MKDEV(STL_SIOMEMMAJOR, i), NULL, | ||
3100 | "staliomem%d", i); | ||
3099 | } | 3101 | } |
3100 | 3102 | ||
3101 | stl_serial->owner = THIS_MODULE; | 3103 | stl_serial->owner = THIS_MODULE; |