Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41187
b: refs/heads/master
c: 04880ed
h: refs/heads/master
i:
  41185: 50cfed0
  41183: 804ae7d
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Dec 1, 2006
1 parent 9cbd4dd commit 260485b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 9a6a2a5e0b57d25c1bf6eb9b8c958940e156b059
refs/heads/master: 04880edae5e1027d61241beb5ac37b520755f2ab
6 changes: 3 additions & 3 deletions trunk/drivers/char/ppdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,13 +752,13 @@ static const struct file_operations pp_fops = {

static void pp_attach(struct parport *port)
{
class_device_create(ppdev_class, NULL, MKDEV(PP_MAJOR, port->number),
NULL, "parport%d", port->number);
device_create(ppdev_class, NULL, MKDEV(PP_MAJOR, port->number),
"parport%d", port->number);
}

static void pp_detach(struct parport *port)
{
class_device_destroy(ppdev_class, MKDEV(PP_MAJOR, port->number));
device_destroy(ppdev_class, MKDEV(PP_MAJOR, port->number));
}

static struct parport_driver pp_driver = {
Expand Down

0 comments on commit 260485b

Please sign in to comment.