From: Viresh Kumar Date: Fri, 23 Mar 2012 07:35:48 +0000 (+0530) Subject: spi/pL022: include types.h to remove compilation warnings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=327ef2e9048a5e39bf84d7f17f78a87e7a068742;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Linus Walleij Signed-off-by: Grant Likely --- diff --git a/include/linux/amba/pl022.h b/include/linux/amba/pl022.h index b8c51124ed19..76dd1b199a1b 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 + /** * whether SSP is in loopback mode or not */