提交 3a16f7b4 编写于 作者: D David Brownell 提交者: Greg Kroah-Hartman

USB: move <linux/usb_otg.h> to <linux/usb/otg.h>

Move <linux/usb_otg.h> to <linux/usb/otg.h>.
Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 26facdff
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/usb_otg.h> #include <linux/usb/otg.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/irq.h> #include <asm/irq.h>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <linux/usb_ch9.h> #include <linux/usb_ch9.h>
#include <linux/usb_gadget.h> #include <linux/usb_gadget.h>
#include <linux/usb.h> #include <linux/usb.h>
#include <linux/usb_otg.h> #include <linux/usb/otg.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/usb_ch9.h> #include <linux/usb_ch9.h>
#include <linux/usb_gadget.h> #include <linux/usb_gadget.h>
#include <linux/usb_otg.h> #include <linux/usb/otg.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/usb.h> #include <linux/usb.h>
#include <linux/usb_otg.h> #include <linux/usb/otg.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <linux/dmapool.h> #include <linux/dmapool.h>
#include <linux/reboot.h> #include <linux/reboot.h>
......
// include/linux/usb_otg.h // include/linux/usb/otg.h
/* /*
* These APIs may be used between USB controllers. USB device drivers * These APIs may be used between USB controllers. USB device drivers
...@@ -52,7 +52,7 @@ struct otg_transceiver { ...@@ -52,7 +52,7 @@ struct otg_transceiver {
u16 port_change; u16 port_change;
/* bind/unbind the host controller */ /* bind/unbind the host controller */
int (*set_host)(struct otg_transceiver *otg, int (*set_host)(struct otg_transceiver *otg,
struct usb_bus *host); struct usb_bus *host);
/* bind/unbind the peripheral controller */ /* bind/unbind the peripheral controller */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册