aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2013-09-10 09:43:40 -0400
committerMarek Szyprowski <m.szyprowski@samsung.com>2013-09-10 09:43:40 -0400
commitaca0156a9c4ba47ca021b69d1fd7442aff49a7ab (patch)
tree65ab5c5a4594d0bcfd3d5f9e16ac2fc11c025b5a
parent26b0332e30c7f93e780aaa054bd84e3437f84354 (diff)
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>
-rw-r--r--drivers/of/of_reserved_mem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c
index a754b84ba016..0fe40c7d6904 100644
--- a/drivers/of/of_reserved_mem.c
+++ b/drivers/of/of_reserved_mem.c
@@ -11,8 +11,6 @@
11 * License or (at your optional) any later version of the license. 11 * License or (at your optional) any later version of the license.
12 */ 12 */
13 13
14#include <asm/dma-contiguous.h>
15
16#include <linux/memblock.h> 14#include <linux/memblock.h>
17#include <linux/err.h> 15#include <linux/err.h>
18#include <linux/of.h> 16#include <linux/of.h>