diff options
author | Felipe Balbi <balbi@ti.com> | 2013-11-26 11:06:00 -0500 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 12:02:26 -0400 |
commit | fda4deb8ba9dc314ea013933457521695fbd44d3 (patch) | |
tree | 9fe03fcc38e5d870a89617ec67ebe9330a92f255 | |
parent | c02dbbf989ec66242f7072e90465848b803c2269 (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>
(cherry-picked from commit cc9d9ccf2a1e8c9f36a436805317180003ba9719)
-rw-r--r-- | drivers/usb/phy/phy-fsm-usb.h | 3 |
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 @@ | |||
15 | * 675 Mass Ave, Cambridge, MA 02139, USA. | 15 | * 675 Mass Ave, Cambridge, MA 02139, USA. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <linux/spinlock.h> | ||
19 | #include <linux/errno.h> | ||
20 | |||
18 | #undef VERBOSE | 21 | #undef VERBOSE |
19 | 22 | ||
20 | #ifdef VERBOSE | 23 | #ifdef VERBOSE |