[POWERPC] devres: Add devm_ioremap_prot()
authorEmil Medve <Emilian.Medve@Freescale.com>
Fri, 2 May 2008 20:34:04 +0000 (06:34 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 5 May 2008 06:47:14 +0000 (16:47 +1000)
commitb41e5fffe8b81fc939067d8c1c195cc79115d5a3
tree7839043d5c430029efdb023e69d6a717fa8ff86e
parentaf3ce514ade2fd0e18c5d078d138a6c1137a33df
[POWERPC] devres: Add devm_ioremap_prot()

We provide an ioremap_flags, so this provides a corresponding
devm_ioremap_prot.  The slight name difference is at Ben
Herrenschmidt's request as he plans on changing ioremap_flags to
ioremap_prot in the future.

Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Tejun Heo <htejun@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/lib/Makefile
arch/powerpc/lib/devres.c [new file with mode: 0644]
include/asm-powerpc/io.h
include/linux/io.h
lib/devres.c