Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ae301e8 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds
Browse files

resources: fix parameter name and kernel-doc



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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3eabdb76
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -143,7 +143,8 @@ static inline unsigned long resource_type(struct resource *res)

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))
+1 −0
Original line number Diff line number Diff line
@@ -620,6 +620,7 @@ resource_size_t resource_alignment(struct resource *res)
 * @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,