aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/driver-model/device.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-model/device.txt b/Documentation/driver-model/device.txt
index b2ff42685bcb..bdefe728a737 100644
--- 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:
104 104
105And assuming 'dev' is the struct device passed into the probe hook, the driver 105And assuming 'dev' is the struct device passed into the probe hook, the driver
106probe function would do something like: 106probe function would do something like:
107 create_device(&mydriver_class, dev, chrdev, &private_data, "my_name"); 107 device_create(&mydriver_class, dev, chrdev, &private_data, "my_name");