Commit 327ef2e9048a5e39bf84d7f17f78a87e7a068742

Authored by Viresh Kumar
Committed by Grant Likely
1 parent f52b69f86e

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>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

include/linux/amba/pl022.h
... ... @@ -25,6 +25,8 @@
25 25 #ifndef _SSP_PL022_H
26 26 #define _SSP_PL022_H
27 27  
  28 +#include <linux/types.h>
  29 +
28 30 /**
29 31 * whether SSP is in loopback mode or not
30 32 */