]> git.sur5r.net Git - u-boot/commitdiff
musb: fix warning in include/linux/usb/musb.h
authorIgor Grinberg <grinberg@compulab.co.il>
Thu, 23 Oct 2014 11:25:25 +0000 (14:25 +0300)
committerMarek Vasut <marex@denx.de>
Thu, 23 Oct 2014 19:38:59 +0000 (21:38 +0200)
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>
include/linux/usb/musb.h

index 9f65ef96ac131912f32e49729752f33735dc61dd..075d222195ff25ea6b6addd703764452bd98e9fe 100644 (file)
@@ -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.)
  */