From: Thierry Reding Date: Tue, 13 Dec 2016 00:43:15 +0000 (-0800) Subject: mm: cma: make linux/cma.h standalone includible X-Git-Tag: v4.14-rc1~1942^2~70 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5e6eff265fe7537fa494e6ab125747813be76a0;p=platform%2Fkernel%2Flinux-rpi3.git mm: cma: make linux/cma.h standalone includible The header uses types and definitions from the linux/init.h as well as linux/types.h headers without explicitly including them. This causes a failure to compile if they are not implicitly pulled in by includers. Link: http://lkml.kernel.org/r/20161115133235.13387-1-thierry.reding@gmail.com Signed-off-by: Thierry Reding Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/cma.h b/include/linux/cma.h index 29f9e77..6f0a91b 100644 --- a/include/linux/cma.h +++ b/include/linux/cma.h @@ -1,6 +1,9 @@ #ifndef __CMA_H__ #define __CMA_H__ +#include +#include + /* * There is always at least global CMA area and a few optional * areas configured in kernel .config.