projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78cde08
)
Driver core: change mem class_devices to be real devices
author
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 26 Jul 2006 00:13:31 +0000
(17:13 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 1 Dec 2006 22:52:00 +0000
(14:52 -0800)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/mem.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/mem.c
b/drivers/char/mem.c
index 55473371b7c6934abe8486af6fc3055701187140..e67eef4867ba02c8af26652b811b290057bf959e 100644
(file)
--- a/
drivers/char/mem.c
+++ b/
drivers/char/mem.c
@@
-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;
}