aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/debug.c
diff options
context:
space:
mode:
authorLi Jun <jun.li@freescale.com>2015-07-09 03:18:46 -0400
committerFelipe Balbi <balbi@ti.com>2015-07-29 10:59:21 -0400
commitb0930d4cafb487a663ac6780a0369d1a0f461bc2 (patch)
tree155c859d0e0b28c190b1345ab7ef8777de95903f /drivers/usb/chipidea/debug.c
parent79742351c89b76ebcf82b73103aed50f98ac2ee4 (diff)
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 <peter.chen@freescale.com> Signed-off-by: Li Jun <jun.li@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
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 @@
10#include <linux/usb/phy.h> 10#include <linux/usb/phy.h>
11#include <linux/usb/otg.h> 11#include <linux/usb/otg.h>
12#include <linux/usb/otg-fsm.h> 12#include <linux/usb/otg-fsm.h>
13#include <linux/usb/chipidea.h>
13 14
14#include "ci.h" 15#include "ci.h"
15#include "udc.h" 16#include "udc.h"