Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226298
b: refs/heads/master
c: b395cba
h: refs/heads/master
v: v3
  • Loading branch information
Vasiliy Kulikov authored and Mauro Carvalho Chehab committed Dec 29, 2010
1 parent 917787c commit 041102e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 801c73c04ad57689dc9b47baf62cbb23f954d987
refs/heads/master: b395cbac36e58a55729fe7e6262a3f0b1691bced
4 changes: 3 additions & 1 deletion trunk/drivers/media/rc/lirc_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ static int lirc_cdev_add(struct irctl *ir)
cdev_init(cdev, &lirc_dev_fops);
cdev->owner = THIS_MODULE;
}
kobject_set_name(&cdev->kobj, "lirc%d", d->minor);
retval = kobject_set_name(&cdev->kobj, "lirc%d", d->minor);
if (retval)
return retval;

retval = cdev_add(cdev, MKDEV(MAJOR(lirc_base_dev), d->minor), 1);
if (retval)
Expand Down

0 comments on commit 041102e

Please sign in to comment.