Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104733
b: refs/heads/master
c: e17da9c
h: refs/heads/master
i:
  104731: c40a264
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jul 22, 2008
1 parent 79719aa commit 991243a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: daea34bc6f67cf3872d1b52ba5ccf249f3ceb176
refs/heads/master: e17da9c4c5fc19e16ddcb0ae020ee4425ca0c96f
3 changes: 2 additions & 1 deletion trunk/drivers/net/ppp_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,8 @@ static int __init ppp_init(void)
err = PTR_ERR(ppp_class);
goto out_chrdev;
}
device_create(ppp_class, NULL, MKDEV(PPP_MAJOR, 0), "ppp");
device_create_drvdata(ppp_class, NULL, MKDEV(PPP_MAJOR, 0),
NULL, "ppp");
}

out:
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/net/wan/cosa.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,9 @@ static int __init cosa_init(void)
err = PTR_ERR(cosa_class);
goto out_chrdev;
}
for (i=0; i<nr_cards; i++) {
device_create(cosa_class, NULL, MKDEV(cosa_major, i), "cosa%d", i);
}
for (i = 0; i < nr_cards; i++)
device_create_drvdata(cosa_class, NULL, MKDEV(cosa_major, i),
NULL, "cosa%d", i);
err = 0;
goto out;

Expand Down

0 comments on commit 991243a

Please sign in to comment.