diff options
Diffstat (limited to 'drivers/net/wan/cosa.c')
-rw-r--r-- | drivers/net/wan/cosa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c index f14051556c87..7f97f8d08c39 100644 --- a/drivers/net/wan/cosa.c +++ b/drivers/net/wan/cosa.c | |||
@@ -388,8 +388,8 @@ static int __init cosa_init(void) | |||
388 | goto out_chrdev; | 388 | goto out_chrdev; |
389 | } | 389 | } |
390 | for (i = 0; i < nr_cards; i++) | 390 | for (i = 0; i < nr_cards; i++) |
391 | device_create_drvdata(cosa_class, NULL, MKDEV(cosa_major, i), | 391 | device_create(cosa_class, NULL, MKDEV(cosa_major, i), NULL, |
392 | NULL, "cosa%d", i); | 392 | "cosa%d", i); |
393 | err = 0; | 393 | err = 0; |
394 | goto out; | 394 | goto out; |
395 | 395 | ||