git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs...
[pandora-kernel.git]
/
Documentation
/
driver-model
/
device.txt
diff --git
a/Documentation/driver-model/device.txt
b/Documentation/driver-model/device.txt
index
b2ff426
..
bdefe72
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:
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");