summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-03-23 07:35:48 (GMT)
committerGrant Likely <grant.likely@secretlab.ca>2012-03-30 22:46:22 (GMT)
commit327ef2e9048a5e39bf84d7f17f78a87e7a068742 (patch)
treefc06f83bae2bce1d3e656e6963e4aeecdd7b58a6
parentf52b69f86e27903d6896ed5fa7cd280fec8de532 (diff)
downloadlinux-327ef2e9048a5e39bf84d7f17f78a87e7a068742.tar.xz
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>
-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 b8c5112..76dd1b1 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
*/