projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
574f24f
)
usb: phy: fsm: don't depend on indirect includes
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Nov 2013 16:06:00 +0000
(10:06 -0600)
committer
Felipe 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
patch
|
blob
|
history
diff --git
a/drivers/usb/phy/phy-fsm-usb.h
b/drivers/usb/phy/phy-fsm-usb.h
index 7441b46a27f1b86ac609b2e6e5c71b8e187cfd1d..32f86a36ba508cd1c8065e02bd498452b991534a 100644
(file)
--- 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