projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f52b69f
)
spi/pL022: include types.h to remove compilation warnings
author
Viresh Kumar
<viresh.kumar@st.com>
Fri, 23 Mar 2012 07:35:48 +0000
(13:05 +0530)
committer
Grant Likely
<grant.likely@secretlab.ca>
Fri, 30 Mar 2012 22:46:22 +0000
(16:46 -0600)
linux/pl022.h uses definitions like, u8, u16, etc, which have dependency of
types.h file, which isn't included in it. So, we get compilation warnings.
This patch includes types.h there to fix these warnings.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
include/linux/amba/pl022.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/amba/pl022.h
b/include/linux/amba/pl022.h
index b8c51124ed19b9b8368ebeb631c543b51029d31a..76dd1b199a1b0e55a39e34d34f6f228ea30a0016 100644
(file)
--- a/
include/linux/amba/pl022.h
+++ b/
include/linux/amba/pl022.h
@@
-25,6
+25,8
@@
#ifndef _SSP_PL022_H
#define _SSP_PL022_H
+#include <linux/types.h>
+
/**
* whether SSP is in loopback mode or not
*/