diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-23 19:16:02 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-23 19:16:02 -0700 |
commit | 822e44fcf9ca052f4708172a2384f67b96649603 (patch) | |
tree | 0f1f1d78f4ce6e9bf2a5c44afa7515d614560d64 /driver | |
parent | bf103007abc2ee6e77e76586a64d678f27b364c4 (diff) | |
download | patches-822e44fcf9ca052f4708172a2384f67b96649603.tar.gz |
usb patches added
Diffstat (limited to 'driver')
-rw-r--r-- | driver/driver-core-fix-driver-core-kernel-doc.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/driver/driver-core-fix-driver-core-kernel-doc.patch b/driver/driver-core-fix-driver-core-kernel-doc.patch new file mode 100644 index 0000000000000..e189866910be0 --- /dev/null +++ b/driver/driver-core-fix-driver-core-kernel-doc.patch @@ -0,0 +1,44 @@ +From rdunlap@xenotime.net Thu Jun 22 15:22:30 2006 +Date: Thu, 22 Jun 2006 15:14:07 -0700 +From: "Randy.Dunlap" <rdunlap@xenotime.net> +To: lkml <linux-kernel@vger.kernel.org> +Cc: gregkh <greg@kroah.com> +Subject: Driver core: fix driver-core kernel-doc +Message-Id: <20060622151407.9d7d7664.rdunlap@xenotime.net> + +From: Randy Dunlap <rdunlap@xenotime.net> + +Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:574): No description found for parameter 'class' +Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:574): No description found for parameter 'devt' +Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:626): No description found for parameter 'devt' + +Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> +Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> + +--- + drivers/base/core.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +--- gregkh-2.6.orig/drivers/base/core.c ++++ gregkh-2.6/drivers/base/core.c +@@ -560,9 +560,9 @@ static void device_create_release(struct + + /** + * device_create - creates a device and registers it with sysfs +- * @cs: pointer to the struct class that this device should be registered to. ++ * @class: pointer to the struct class that this device should be registered to. + * @parent: pointer to the parent struct device of this new device, if any. +- * @dev: the dev_t for the char device to be added. ++ * @devt: the dev_t for the char device to be added. + * @fmt: string for the class device's name + * + * This function can be used by char device classes. A struct +@@ -622,7 +622,7 @@ EXPORT_SYMBOL_GPL(device_create); + /** + * device_destroy - removes a device that was created with device_create() + * @class: the pointer to the struct class that this device was registered * with. +- * @dev: the dev_t of the device that was previously registered. ++ * @devt: the dev_t of the device that was previously registered. + * + * This call unregisters and cleans up a class device that was created with a + * call to class_device_create() |