devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers: of: fix build break if asm/dma-contiguous.h is missing
@ 2013-09-10  9:13 Marek Szyprowski
  2013-09-10 13:39 ` Guenter Roeck
  2013-09-10 19:45 ` Rob Herring
  0 siblings, 2 replies; 5+ messages in thread
From: Marek Szyprowski @ 2013-09-10  9:13 UTC (permalink / raw)
  To: linux-kernel, linaro-mm-sig, devicetree
  Cc: Marek Szyprowski, Kyungmin Park, Arnd Bergmann, Michal Nazarewicz,
	Grant Likely, Tomasz Figa, Sylwester Nawrocki, Sascha Hauer,
	Laura Abbott, Rob Herring, Olof Johansson, Pawel Moll,
	Mark Rutland, Stephen Warren, Ian Campbell, Tomasz Figa,
	Kumar Gala, Nishanth Peethambaran, Marc, Guenter Roeck

It is not needed to include asm/dma-contiguous.h header to compile
reserved memory initialization code, so remove it to avoid build break
on architectures without CMA support.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
 drivers/of/of_reserved_mem.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c
index a754b84..0fe40c7 100644
--- a/drivers/of/of_reserved_mem.c
+++ b/drivers/of/of_reserved_mem.c
@@ -11,8 +11,6 @@
  * License or (at your optional) any later version of the license.
  */
 
-#include <asm/dma-contiguous.h>
-
 #include <linux/memblock.h>
 #include <linux/err.h>
 #include <linux/of.h>
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-11 15:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10  9:13 [PATCH] drivers: of: fix build break if asm/dma-contiguous.h is missing Marek Szyprowski
2013-09-10 13:39 ` Guenter Roeck
2013-09-10 19:45 ` Rob Herring
2013-09-11  6:31   ` Marek Szyprowski
2013-09-11 15:35     ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).