summaryrefslogtreecommitdiff
path: root/drivers/usb/phy
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-11-26 10:06:00 -0600
committerFelipe Balbi <balbi@ti.com>2013-11-26 10:58:17 -0600
commitcc9d9ccf2a1e8c9f36a436805317180003ba9719 (patch)
tree573fed52904b3552c99f4e572cfec92141e3efec /drivers/usb/phy
parent574f24f797718937b48befb97d13850d5bebb72c (diff)
usb: phy: fsm: don't depend on indirect includes
this header uses spinlocks and errno values, so we must include <linux/spinlock.h> and <linux/errno.h> to avoid build errors. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy')
-rw-r--r--drivers/usb/phy/phy-fsm-usb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/phy/phy-fsm-usb.h b/drivers/usb/phy/phy-fsm-usb.h
index 7441b46a27f1..32f86a36ba50 100644
--- a/drivers/usb/phy/phy-fsm-usb.h
+++ b/drivers/usb/phy/phy-fsm-usb.h
@@ -15,6 +15,9 @@
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <linux/spinlock.h>
+#include <linux/errno.h>
+
#undef VERBOSE
#ifdef VERBOSE