git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76148df
)
resource: constify arg to resource_size() and resource_type()
author
Jean Delvare
<khali@linux-fr.org>
Wed, 16 Dec 2009 00:48:21 +0000
(16:48 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:17 +0000
(07:20 -0800)
resource_size() doesn't change the resource it operates on, so the res
parameter can be marked const. Same for resource_type().
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found