[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>
Showing
- arch/powerpc/lib/Makefile 1 addition, 0 deletionsarch/powerpc/lib/Makefile
- arch/powerpc/lib/devres.c 42 additions, 0 deletionsarch/powerpc/lib/devres.c
- include/asm-powerpc/io.h 7 additions, 1 deletioninclude/asm-powerpc/io.h
- include/linux/io.h 1 addition, 0 deletionsinclude/linux/io.h
- lib/devres.c 1 addition, 1 deletionlib/devres.c
Loading
Please register or sign in to comment