Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151261
b: refs/heads/master
c: aa5ed63
h: refs/heads/master
i:
  151259: b10c3b2
v: v3
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed Jun 16, 2009
1 parent 2a0d983 commit 8f105e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8a8bdcc7533b104d789d9bb3ed90da9352515e21
refs/heads/master: aa5ed63e96656bb246a9439e06c7b67d455a5aa1
6 changes: 6 additions & 0 deletions trunk/drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -1265,8 +1265,14 @@ static struct device_type input_dev_type = {
.uevent = input_dev_uevent,
};

static char *input_nodename(struct device *dev)
{
return kasprintf(GFP_KERNEL, "input/%s", dev_name(dev));
}

struct class input_class = {
.name = "input",
.nodename = input_nodename,
};
EXPORT_SYMBOL_GPL(input_class);

Expand Down

0 comments on commit 8f105e0

Please sign in to comment.