X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=Documentation%2Fdriver-model%2Fdevice.txt;h=bdefe728a737795677b091cbbce14ffed5f27d58;hp=b2ff42685bcbab9c51b1f1222ed2fea3f81a7bbf;hb=22712200e175e0df5c7f9edfe6c6bf5c94c23b83;hpb=f3ae1c75203535f65448517e46c8dd70a56b6c71 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: And assuming 'dev' is the struct device passed into the probe hook, the driver probe function would do something like: - create_device(&mydriver_class, dev, chrdev, &private_data, "my_name"); + device_create(&mydriver_class, dev, chrdev, &private_data, "my_name");