aboutsummaryrefslogtreecommitdiff
path: root/include/linux/amba
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-03-23 13:05:48 +0530
committerGrant Likely <grant.likely@secretlab.ca>2012-03-30 16:46:22 -0600
commit327ef2e9048a5e39bf84d7f17f78a87e7a068742 (patch)
treefc06f83bae2bce1d3e656e6963e4aeecdd7b58a6 /include/linux/amba
parentf52b69f86e27903d6896ed5fa7cd280fec8de532 (diff)
downloadvexpress-lsk-327ef2e9048a5e39bf84d7f17f78a87e7a068742.tar.gz
spi/pL022: include types.h to remove compilation warnings
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>
Diffstat (limited to 'include/linux/amba')
-rw-r--r--include/linux/amba/pl022.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/amba/pl022.h b/include/linux/amba/pl022.h
index b8c51124ed1..76dd1b199a1 100644
--- 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
*/