diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2014-10-23 11:25:25 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2014-10-23 19:38:59 (GMT) |
commit | 09bab6e77026d4b4e7682e56b470adf6e9f81563 (patch) | |
tree | 153b0f4f965d50380ce40076ae3dae23166b92da | |
parent | 227ec97f5173df008f85bf4743e00fe16f991204 (diff) | |
download | u-boot-fsl-qoriq-09bab6e77026d4b4e7682e56b470adf6e9f81563.tar.xz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h index 9f65ef9..075d222 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.) */ |