diff options
Diffstat (limited to 'drivers/char/stallion.c')
-rw-r--r-- | drivers/char/stallion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c index 0243efb0be95..45aeeeab9f4a 100644 --- a/drivers/char/stallion.c +++ b/drivers/char/stallion.c | |||
@@ -4753,8 +4753,8 @@ static int __init stallion_module_init(void) | |||
4753 | if (IS_ERR(stallion_class)) | 4753 | if (IS_ERR(stallion_class)) |
4754 | printk("STALLION: failed to create class\n"); | 4754 | printk("STALLION: failed to create class\n"); |
4755 | for (i = 0; i < 4; i++) | 4755 | for (i = 0; i < 4; i++) |
4756 | device_create(stallion_class, NULL, MKDEV(STL_SIOMEMMAJOR, i), | 4756 | device_create_drvdata(stallion_class, NULL, MKDEV(STL_SIOMEMMAJOR, i), |
4757 | "staliomem%d", i); | 4757 | NULL, "staliomem%d", i); |
4758 | 4758 | ||
4759 | return 0; | 4759 | return 0; |
4760 | err_unrtty: | 4760 | err_unrtty: |