Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104722
b: refs/heads/master
c: 0fd15a1
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jul 22, 2008
1 parent fa97290 commit 50c0ed6
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 1e2744011ff3cd195aba9f7a15dd71b332812a5c
refs/heads/master: 0fd15a18d876a9571cc5b88a5d1716dfccb8e493
5 changes: 3 additions & 2 deletions trunk/drivers/hid/hidraw.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ int hidraw_connect(struct hid_device *hid)
goto out;
}

dev->dev = device_create(hidraw_class, NULL, MKDEV(hidraw_major, minor),
"%s%d", "hidraw", minor);
dev->dev = device_create_drvdata(hidraw_class, NULL,
MKDEV(hidraw_major, minor), NULL,
"%s%d", "hidraw", minor);

if (IS_ERR(dev->dev)) {
spin_lock(&minors_lock);
Expand Down

0 comments on commit 50c0ed6

Please sign in to comment.