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>
This commit is contained in:
Viresh Kumar 2012-03-23 13:05:48 +05:30 committed by Grant Likely
parent f52b69f86e
commit 327ef2e904
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@
#ifndef _SSP_PL022_H #ifndef _SSP_PL022_H
#define _SSP_PL022_H #define _SSP_PL022_H
#include <linux/types.h>
/** /**
* whether SSP is in loopback mode or not * whether SSP is in loopback mode or not
*/ */