public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] musb: fix warning in include/linux/usb/musb.h
@ 2014-10-23 11:25 Igor Grinberg
  2014-10-23 19:49 ` Marek Vasut
  0 siblings, 1 reply; 2+ messages in thread
From: Igor Grinberg @ 2014-10-23 11:25 UTC (permalink / raw)
  To: u-boot

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 | 2 ++
 1 file changed, 2 insertions(+)

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.)
  */
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] musb: fix warning in include/linux/usb/musb.h
  2014-10-23 11:25 [U-Boot] [PATCH] musb: fix warning in include/linux/usb/musb.h Igor Grinberg
@ 2014-10-23 19:49 ` Marek Vasut
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Vasut @ 2014-10-23 19:49 UTC (permalink / raw)
  To: u-boot

On Thursday, October 23, 2014 at 01:25:25 PM, Igor Grinberg wrote:
> 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>

Applied, thanks!

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-23 19:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-23 11:25 [U-Boot] [PATCH] musb: fix warning in include/linux/usb/musb.h Igor Grinberg
2014-10-23 19:49 ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox