ARM: dma-mapping: move consistent_init into CONFIG_MMU section
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 19 Nov 2009 16:46:02 +0000 (16:46 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 24 Nov 2009 17:41:35 +0000 (17:41 +0000)
commit88c58f3b92bc7c26439802c300d39b6377739d81
treeffcc5f555fb871a3a5e7d8b5a17757563b43a5df
parent695ae0af5a52df09dffcc2ce2d625d56ef36ce14
ARM: dma-mapping: move consistent_init into CONFIG_MMU section

No point wrapping the contents of this function with #ifdef CONFIG_MMU
when we can place it and the core_initcall() entirely within the
existing conditional block.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Greg Ungerer <gerg@uclinux.org>
arch/arm/mm/dma-mapping.c