diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-12-15 16:48:21 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-16 07:20:17 -0800 |
commit | f65380c07b64b0e45ad5c7d70ca54a9cde1c00db (patch) | |
tree | f0ea736f2c3b21af00dbc085ea53d47847f9632f /fs/qnx4/bitmap.c | |
parent | 76148df19cbd5437dc5358408a58c7cc6366ecf4 (diff) | |
download | linux-f65380c07b64b0e45ad5c7d70ca54a9cde1c00db.tar.gz linux-f65380c07b64b0e45ad5c7d70ca54a9cde1c00db.tar.bz2 linux-f65380c07b64b0e45ad5c7d70ca54a9cde1c00db.zip |
resource: constify arg to resource_size() and resource_type()
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>
Diffstat (limited to 'fs/qnx4/bitmap.c')
0 files changed, 0 insertions, 0 deletions