aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/debug.c
diff options
context:
space:
mode:
authorLi Jun <[email protected]>2015-07-09 07:18:46 +0000
committerFelipe Balbi <[email protected]>2015-07-29 14:59:21 +0000
commitb0930d4cafb487a663ac6780a0369d1a0f461bc2 (patch)
tree155c859d0e0b28c190b1345ab7ef8777de95903f /drivers/usb/chipidea/debug.c
parentusb: chipidea: set usb otg capabilities (diff)
downloadkernel-b0930d4cafb487a663ac6780a0369d1a0f461bc2.tar.gz
kernel-b0930d4cafb487a663ac6780a0369d1a0f461bc2.zip
usb: chipidea: update ci_otg_is_fsm_mode conditions
After introduce usb otg properties, update ci_otg_is_fsm_mode conditions to be depending on both usb hardware properties and usb driver config, also resolve a compile issue in debug.c after the API change. Acked-by: Peter Chen <[email protected]> Signed-off-by: Li Jun <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/usb/chipidea/debug.c')
-rw-r--r--drivers/usb/chipidea/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c
index 5b7061a33103..3869c6d75515 100644
--- a/drivers/usb/chipidea/debug.c
+++ b/drivers/usb/chipidea/debug.c
@@ -10,6 +10,7 @@
#include <linux/usb/phy.h>
#include <linux/usb/otg.h>
#include <linux/usb/otg-fsm.h>
+#include <linux/usb/chipidea.h>
#include "ci.h"
#include "udc.h"