[SPARC64]: Fix of_iounmap() region release.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Dec 2006 05:01:32 +0000 (21:01 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 31 Dec 2006 22:06:05 +0000 (14:06 -0800)
commite3a411a3dfc1d633504aa63efab32b7e00318454
tree2ba6117448edd7056c8fa48cc6a696ae73a6c21a
parent6fc5bae797a6632bbccdd49a1b6a96121368a4b9
[SPARC64]: Fix of_iounmap() region release.

We need to pass in the resource otherwise we cannot
release the region properly.  We must know whether it is
an I/O or MEM resource.

Spotted by Eric Brower.

Signed-off-by: David S. Miller <davem@davemloft.net>
16 files changed:
arch/sparc/kernel/ioport.c
arch/sparc64/kernel/of_device.c
drivers/input/serio/i8042-sparcio.h
drivers/serial/sunsab.c
drivers/serial/sunsu.c
drivers/serial/sunzilog.c
drivers/video/bw2.c
drivers/video/cg14.c
drivers/video/cg3.c
drivers/video/cg6.c
drivers/video/ffb.c
drivers/video/leo.c
drivers/video/p9100.c
drivers/video/tcx.c
include/asm-sparc/of_device.h
include/asm-sparc64/of_device.h