Skip to content

Commit

Permalink
drivers: of: fix build break if asm/dma-contiguous.h is missing
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marek Szyprowski committed Sep 10, 2013
1 parent 26b0332 commit aca0156
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/of/of_reserved_mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit aca0156

Please sign in to comment.