summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2014-10-23 14:25:25 +0300
committerMarek Vasut <marex@denx.de>2014-10-23 21:38:59 +0200
commit09bab6e77026d4b4e7682e56b470adf6e9f81563 (patch)
tree153b0f4f965d50380ce40076ae3dae23166b92da
parent227ec97f5173df008f85bf4743e00fe16f991204 (diff)
musb: fix warning in include/linux/usb/musb.h
Fix the following build warning by including linux/compat.h: include/linux/usb/musb.h:110: warning: 'struct device' declared inside parameter list include/linux/usb/musb.h:110: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
-rw-r--r--include/linux/usb/musb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h
index 9f65ef96ac1..075d222195f 100644
--- a/include/linux/usb/musb.h
+++ b/include/linux/usb/musb.h
@@ -14,6 +14,8 @@
#define __deprecated
#endif
+#include <linux/compat.h>
+
/* The USB role is defined by the connector used on the board, so long as
* standards are being followed. (Developer boards sometimes won't.)
*/