]> err.no Git - linux-2.6/commit
resource: add resource_size()
authorMagnus Damm <damm@igel.co.jp>
Wed, 30 Jul 2008 05:32:57 +0000 (22:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jul 2008 16:41:43 +0000 (09:41 -0700)
commit1a4e564b7db999fbe5d88318c96ac8747699d417
tree6451a0bd33533f7a214faa205ad174978458781e
parente958d3ace7791f33518f0259cd3cf229408b135c
resource: add resource_size()

Avoid one-off errors by introducing a resource_size() function.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/ioport.h
kernel/resource.c