[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1311739521-11014-3-git-send-email-gregkh@suse.de>
Date: Tue, 26 Jul 2011 21:05:13 -0700
From: Greg Kroah-Hartman <gregkh@...e.de>
To: linux-kernel@...r.kernel.org
Cc: "Robert P. J. Day" <rpjday@...shcourse.ca>,
Greg Kroah-Hartman <gregkh@...e.de>
Subject: [PATCH 03/11] DOCUMENTATION: Replace create_device() with device_create().
From: "Robert P. J. Day" <rpjday@...shcourse.ca>
Fix a rather obvious typo.
Signed-off-by: Robert P. J. Day <rpjday@...shcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
---
Documentation/driver-model/device.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/driver-model/device.txt b/Documentation/driver-model/device.txt
index b2ff426..bdefe72 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");
--
1.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists