Skip to content

Commit

Permalink
spi/pL022: include types.h to remove compilation warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Viresh Kumar authored and Grant Likely committed Mar 30, 2012
1 parent f52b69f commit 327ef2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/amba/pl022.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#ifndef _SSP_PL022_H
#define _SSP_PL022_H

#include <linux/types.h>

/**
* whether SSP is in loopback mode or not
*/
Expand Down

0 comments on commit 327ef2e

Please sign in to comment.