usb: phy: fsm: don't depend on indirect includes
authorFelipe Balbi <balbi@ti.com>
Tue, 26 Nov 2013 16:06:00 +0000 (10:06 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 26 Nov 2013 16:58:17 +0000 (10:58 -0600)
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>
drivers/usb/phy/phy-fsm-usb.h

index 7441b46a27f1b86ac609b2e6e5c71b8e187cfd1d..32f86a36ba508cd1c8065e02bd498452b991534a 100644 (file)
@@ -15,6 +15,9 @@
  * 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include <linux/spinlock.h>
+#include <linux/errno.h>
+
 #undef VERBOSE
 
 #ifdef VERBOSE