diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-02-18 16:09:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-21 18:27:07 -0500 |
commit | 7199677d2e919edc75d1fb8856c98cd0c1bbcfc5 (patch) | |
tree | b2a71619e54164cfad1e1fda266afa13ea5a0af3 /drivers | |
parent | 7ab47050453c10da13940114dea9c7f1c6ad323f (diff) |
driver-core: fix kernel-doc function parameters
Fix drivers/base/ missing kernel-doc parameters:
Warning(linux-2.6.24-git12//drivers/base/driver.c:133): No description found for parameter 'drv'
Warning(linux-2.6.24-git12//drivers/base/driver.c:133): No description found for parameter 'kobj'
Warning(linux-2.6.24-git12//drivers/base/driver.c:133): No description found for parameter 'fmt'
Warning(linux-2.6.24-git12//drivers/base/power/main.c:530): No description found for parameter 'state'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/driver.c | 3 | ||||
-rw-r--r-- | drivers/base/power/main.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/base/driver.c b/drivers/base/driver.c index ba75184c653c..bf31a0170a48 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c | |||
@@ -120,6 +120,9 @@ EXPORT_SYMBOL_GPL(driver_remove_file); | |||
120 | 120 | ||
121 | /** | 121 | /** |
122 | * driver_add_kobj - add a kobject below the specified driver | 122 | * driver_add_kobj - add a kobject below the specified driver |
123 | * @drv: requesting device driver | ||
124 | * @kobj: kobject to add below this driver | ||
125 | * @fmt: format string that names the kobject | ||
123 | * | 126 | * |
124 | * You really don't want to do this, this is only here due to one looney | 127 | * You really don't want to do this, this is only here due to one looney |
125 | * iseries driver, go poke those developers if you are annoyed about | 128 | * iseries driver, go poke those developers if you are annoyed about |
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index bdc03f7e8424..d6095608465a 100644 --- a/drivers/base/power/main.c +++ b/drivers/base/power/main.c | |||
@@ -523,6 +523,7 @@ static void lock_all_devices(void) | |||
523 | 523 | ||
524 | /** | 524 | /** |
525 | * device_suspend - Save state and stop all devices in system. | 525 | * device_suspend - Save state and stop all devices in system. |
526 | * @state: new power management state | ||
526 | * | 527 | * |
527 | * Prevent new devices from being registered, then lock all devices | 528 | * Prevent new devices from being registered, then lock all devices |
528 | * and suspend them. | 529 | * and suspend them. |