projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5464e9c
)
DOCUMENTATION: Replace create_device() with device_create().
author
Robert P. J. Day
<rpjday@crashcourse.ca>
Sat, 28 May 2011 23:11:39 +0000
(19:11 -0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 7 Jun 2011 17:04:22 +0000
(10:04 -0700)
Fix a rather obvious typo.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/driver-model/device.txt
patch
|
blob
|
history
diff --git
a/Documentation/driver-model/device.txt
b/Documentation/driver-model/device.txt
index b2ff42685bcbab9c51b1f1222ed2fea3f81a7bbf..bdefe728a737795677b091cbbce14ffed5f27d58 100644
(file)
--- a/
Documentation/driver-model/device.txt
+++ b/
Documentation/driver-model/device.txt
@@
-104,4
+104,4
@@
Then in the module init function is would do:
And assuming 'dev' is the struct device passed into the probe hook, the driver
probe function would do something like:
-
create_devic
e(&mydriver_class, dev, chrdev, &private_data, "my_name");
+
device_creat
e(&mydriver_class, dev, chrdev, &private_data, "my_name");