Browse Source

drivers: of: fix build break if asm/dma-contiguous.h is missing

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>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Marek Szyprowski 11 years ago
parent
commit
aca0156a9c
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/of/of_reserved_mem.c

+ 0 - 2
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>