lkml.org 
[lkml]   [2008]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 30 Apr 2008 17:18:18 -0700
FromRandy Dunlap <>
Subject[PATCH] PNP: fix missing kernel-doc notation
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)
{

\
 
 \ /
  Last update: 2008-05-01 02:23    [from the cache]
©2003-2010