[POWERPC] add of_iomap function
authorChristian Krafft <krafft@de.ibm.com>
Mon, 23 Apr 2007 19:35:45 +0000 (21:35 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Mon, 23 Apr 2007 19:44:40 +0000 (21:44 +0200)
commit6bf05fd776e38a0a9c17e17c2345b59b1b9aa2cb
tree2f7c2ecec6918614f6f407bec94299d79baf5b47
parent4a065f9418274f2d73066f1638b3612341e4f030
[POWERPC] add of_iomap function

The of_iomap function maps memory for a given
device_node and returns a pointer to that memory.
This is used at some places, so it makes sense to
a seperate function.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/sysdev/pmi.c
include/asm-powerpc/prom.h