Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189566
b: refs/heads/master
c: 6e191f7
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Linus Torvalds committed Apr 7, 2010
1 parent 9d0516d commit e077663
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 70655c06bd3f25111312d63985888112aed15ac5
refs/heads/master: 6e191f7bb083544dc4fa3879ff81caf97c65d197
3 changes: 3 additions & 0 deletions trunk/drivers/char/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,9 @@ static int __init chr_dev_init(void)
printk("unable to get major %d for memory devs\n", MEM_MAJOR);

mem_class = class_create(THIS_MODULE, "mem");
if (IS_ERR(mem_class))
return PTR_ERR(mem_class);

mem_class->devnode = mem_devnode;
for (minor = 1; minor < ARRAY_SIZE(devlist); minor++) {
if (!devlist[minor].name)
Expand Down

0 comments on commit e077663

Please sign in to comment.