Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41191
b: refs/heads/master
c: ebf644c
h: refs/heads/master
i:
  41189: 309c67e
  41187: 260485b
  41183: 804ae7d
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Dec 1, 2006
1 parent e92dfb0 commit 6494252
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 78cde0887930f5d11a56fc51b013f2672fba0e6f
refs/heads/master: ebf644c4623bc3eb57683199cd2b9080028b0f6f
8 changes: 4 additions & 4 deletions trunk/drivers/char/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -980,10 +980,10 @@ static int __init chr_dev_init(void)

mem_class = class_create(THIS_MODULE, "mem");
for (i = 0; i < ARRAY_SIZE(devlist); i++)
class_device_create(mem_class, NULL,
MKDEV(MEM_MAJOR, devlist[i].minor),
NULL, devlist[i].name);
device_create(mem_class, NULL,
MKDEV(MEM_MAJOR, devlist[i].minor),
devlist[i].name);

return 0;
}

Expand Down

0 comments on commit 6494252

Please sign in to comment.