Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41186
b: refs/heads/master
c: 9a6a2a5
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Dec 1, 2006
1 parent 50cfed0 commit 9cbd4dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 07accdc18e014cad945013886ee34e09f859f88a
refs/heads/master: 9a6a2a5e0b57d25c1bf6eb9b8c958940e156b059
4 changes: 2 additions & 2 deletions trunk/drivers/net/ppp_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ static int __init ppp_init(void)
err = PTR_ERR(ppp_class);
goto out_chrdev;
}
class_device_create(ppp_class, NULL, MKDEV(PPP_MAJOR, 0), NULL, "ppp");
device_create(ppp_class, NULL, MKDEV(PPP_MAJOR, 0), "ppp");
}

out:
Expand Down Expand Up @@ -2675,7 +2675,7 @@ static void __exit ppp_cleanup(void)
cardmap_destroy(&all_ppp_units);
if (unregister_chrdev(PPP_MAJOR, "ppp") != 0)
printk(KERN_ERR "PPP: failed to unregister PPP device\n");
class_device_destroy(ppp_class, MKDEV(PPP_MAJOR, 0));
device_destroy(ppp_class, MKDEV(PPP_MAJOR, 0));
class_destroy(ppp_class);
}

Expand Down

0 comments on commit 9cbd4dd

Please sign in to comment.