musb: fix warning in include/linux/usb/musb.h
PATCH 1/1 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 listinclude/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 <[email protected]>
--- include/linux/usb/musb.h | 2 ++ 1 file changed, 2 insertions(+)
include/linux/usb/musb.h +2 -0
@@ -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.) */
Signature · 1 line
2.0.4
Marek Vasut
AppliedPATCH 1/1 musb: fix warning in include/linux/usb/musb.h
Quoted 7 lines · Igor Grinberg
Fix the following build warning by including
linux/compat.h:include/linux/usb/musb.h:110: warning: 'struct device' declared inside parameter listinclude/linux/usb/musb.h:110: warning: its scope is only this definition or declaration, which is probably not what you wantSigned-off-by Igor Grinberg <[email protected]>
Applied, thanks!
Best regards,
Marek Vasut