summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/otg.h
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2013-08-14 12:44:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-14 12:37:19 -0700
commitcbec6bd55a45fa88218ec5ea5ae91f9b96d158d0 (patch)
treee4fc86b0461913278f152ba9a2d6e562a8708ae7 /drivers/usb/chipidea/otg.h
parentc344b518008ada3170349d1c06e8a30224400b29 (diff)
downloadlinux-cbec6bd55a45fa88218ec5ea5ae91f9b96d158d0.tar.gz
linux-cbec6bd55a45fa88218ec5ea5ae91f9b96d158d0.tar.bz2
linux-cbec6bd55a45fa88218ec5ea5ae91f9b96d158d0.zip
usb: chipidea: move otg related things to otg file
Move otg related things to otg file. Tested-by: Marek Vasut <marex@denx.de> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/otg.h')
-rw-r--r--drivers/usb/chipidea/otg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/otg.h b/drivers/usb/chipidea/otg.h
index 376eaee73042..8acf3df4e3e5 100644
--- a/drivers/usb/chipidea/otg.h
+++ b/drivers/usb/chipidea/otg.h
@@ -28,5 +28,7 @@ static inline void ci_disable_otg_interrupt(struct ci_hdrc *ci, u32 bits)
}
int ci_hdrc_otg_init(struct ci_hdrc *ci);
+void ci_hdrc_otg_destroy(struct ci_hdrc *ci);
+enum ci_role ci_otg_role(struct ci_hdrc *ci);
#endif /* __DRIVERS_USB_CHIPIDEA_OTG_H */