projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1ef8e2
)
mm: cma: make linux/cma.h standalone includible
author
Thierry Reding
<
[email protected]
>
Tue, 13 Dec 2016 00:43:15 +0000
(16:43 -0800)
committer
Linus Torvalds
<
[email protected]
>
Tue, 13 Dec 2016 02:55:08 +0000
(18:55 -0800)
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/
[email protected]
Signed-off-by: Thierry Reding <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/cma.h
patch
|
blob
|
history
diff --git
a/include/linux/cma.h
b/include/linux/cma.h
index 29f9e774ab76ef5c1deb019a142af3027a43ebce..6f0a91b37f683fd4788ef82e6fb49f1701abb5d5 100644
(file)
--- a/
include/linux/cma.h
+++ b/
include/linux/cma.h
@@
-1,6
+1,9
@@
#ifndef __CMA_H__
#define __CMA_H__
+#include <linux/init.h>
+#include <linux/types.h>
+
/*
* There is always at least global CMA area and a few optional
* areas configured in kernel .config.