]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drivers: of: fix build break if asm/dma-contiguous.h is missing
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 10 Sep 2013 13:43:40 +0000 (15:43 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 10 Sep 2013 13:43:40 +0000 (15:43 +0200)
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>
drivers/of/of_reserved_mem.c

index a754b84ba0167f7a2b8db701fb3e09c73026e4f4..0fe40c7d69041ae579282557cf50c9aabc340e07 100644 (file)
@@ -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>