[PATCH] PNP: fix missing kernel-doc notation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy Dunlap
Date: Wednesday, April 30, 2008 - 5:18 pm

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix missing PNP kernel-doc notation:

Warning(linux-2.6.25-git16//drivers/pnp/manager.c:261): No description found for parameter 'dev'
Warning(linux-2.6.25-git16//drivers/pnp/manager.c:292): No description found for parameter 'dev'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/pnp/manager.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.25-git16.orig/drivers/pnp/manager.c
+++ linux-2.6.25-git16/drivers/pnp/manager.c
@@ -255,7 +255,7 @@ void pnp_init_resource(struct resource *
 
 /**
  * pnp_init_resources - Resets a resource table to default values.
- * @table: pointer to the desired resource table
+ * @dev: pointer to the owning &pnp_dev
  */
 void pnp_init_resources(struct pnp_dev *dev)
 {
@@ -286,7 +286,7 @@ void pnp_init_resources(struct pnp_dev *
 
 /**
  * pnp_clean_resources - clears resources that were not manually set
- * @res: the resources to clean
+ * @dev: &pnp_dev for the resources to clean
  */
 static void pnp_clean_resource_table(struct pnp_dev *dev)
 {
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] PNP: fix missing kernel-doc notation, Randy Dunlap, (Wed Apr 30, 5:18 pm)