[PATCH] resources: fix parameter name and kernel-doc

From: Randy Dunlap
Date: Fri Jan 09 2009 - 20:06:36 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix __request_region() parameter kernel-doc notation and
parameter name:

Warning(linux-2.6.28-git10//kernel/resource.c:627): No description found for parameter 'flags'

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
include/linux/ioport.h | 3 ++-
kernel/resource.c | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)

--- linux-next-20090109.orig/include/linux/ioport.h
+++ linux-next-20090109/include/linux/ioport.h
@@ -143,7 +143,8 @@ static inline unsigned long resource_typ

extern struct resource * __request_region(struct resource *,
resource_size_t start,
- resource_size_t n, const char *name, int relaxed);
+ resource_size_t n,
+ const char *name, int flags);

/* Compatibility cruft */
#define release_region(start,n) __release_region(&ioport_resource, (start), (n))
--- linux-next-20090109.orig/kernel/resource.c
+++ linux-next-20090109/kernel/resource.c
@@ -620,6 +620,7 @@ resource_size_t resource_alignment(struc
* @start: resource start address
* @n: resource region size
* @name: reserving caller's ID string
+ * @flags: IO resource flags
*/
struct resource * __request_region(struct resource *parent,
resource_size_t start, resource_size_t n,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/