Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104720
b: refs/heads/master
c: e282959
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jul 22, 2008
1 parent b540b10 commit fd1f00c
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: 275e64decc01acf4d2f6b6ad1b83f1c4bd9033e5
refs/heads/master: e282959ef3ebae0d72ac0b24242c376fa34da585
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb/dvb-core/dvbdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@ int dvb_register_device(struct dvb_adapter *adap, struct dvb_device **pdvbdev,

mutex_unlock(&dvbdev_register_lock);

clsdev = device_create(dvb_class, adap->device,
clsdev = device_create_drvdata(dvb_class, adap->device,
MKDEV(DVB_MAJOR, nums2minor(adap->num, type, id)),
"dvb%d.%s%d", adap->num, dnames[type], id);
NULL, "dvb%d.%s%d", adap->num, dnames[type], id);
if (IS_ERR(clsdev)) {
printk(KERN_ERR "%s: failed to create device dvb%d.%s%d (%ld)\n",
__func__, adap->num, dnames[type], id, PTR_ERR(clsdev));
Expand Down

0 comments on commit fd1f00c

Please sign in to comment.