From 09bab6e77026d4b4e7682e56b470adf6e9f81563 Mon Sep 17 00:00:00 2001 From: Igor Grinberg Date: Thu, 23 Oct 2014 14:25:25 +0300 Subject: [PATCH] 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 --- 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 9f65ef96ac..075d222195 100644 --- a/include/linux/usb/musb.h +++ b/include/linux/usb/musb.h @@ -14,6 +14,8 @@ #define __deprecated #endif +#include + /* The USB role is defined by the connector used on the board, so long as * standards are being followed. (Developer boards sometimes won't.) */