summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-06-22 15:14:07 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-07-12 16:09:08 -0700
commit7d12e9de5d73a836f040157b27166e68990ea9b4 (patch)
tree530673100c8473ff70d03a928ceccc1443c4bd9f
parent155dbfd8846bf165bb036c4492ad121c8b059f1d (diff)
downloadlinux-7d12e9de5d73a836f040157b27166e68990ea9b4.tar.gz
linux-7d12e9de5d73a836f040157b27166e68990ea9b4.tar.bz2
linux-7d12e9de5d73a836f040157b27166e68990ea9b4.zip
[PATCH] Driver core: fix driver-core kernel-doc
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>
-rw-r--r--drivers/base/core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index b21f864c9ce8..e61ad4e78c18 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -559,9 +559,9 @@ static void device_create_release(struct device *dev)
/**
* 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
@@ -621,7 +621,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()