diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-01-20 17:55:57 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-27 10:39:16 -0500 |
commit | 4b1a577d41c99f2aa548e8de3effe1033d9ca40b (patch) | |
tree | 181b85235f810e6e31f45a45c2316885ba96e534 /drivers/usb/host/isp1760-hcd.h | |
parent | e19c99e7592e06b6fdf558aa8877b671f8cf0329 (diff) |
usb: isp1760: Move core code to isp1760-core.c
Move core device initialization to a central location in order to share
it with the device mode implementation.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/host/isp1760-hcd.h')
-rw-r--r-- | drivers/usb/host/isp1760-hcd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/host/isp1760-hcd.h b/drivers/usb/host/isp1760-hcd.h index 44486c86f5f7..dcd2232848cd 100644 --- a/drivers/usb/host/isp1760-hcd.h +++ b/drivers/usb/host/isp1760-hcd.h | |||
@@ -84,10 +84,10 @@ struct isp1760_hcd { | |||
84 | struct gpio_desc *rst_gpio; | 84 | struct gpio_desc *rst_gpio; |
85 | }; | 85 | }; |
86 | 86 | ||
87 | /* exports for if */ | 87 | int isp1760_hcd_register(struct isp1760_hcd *priv, void __iomem *regs, |
88 | int isp1760_register(struct resource *mem, int irq, unsigned long irqflags, | 88 | struct resource *mem, int irq, unsigned long irqflags, |
89 | struct device *dev, unsigned int devflags); | 89 | struct device *dev, unsigned int devflags); |
90 | void isp1760_unregister(struct device *dev); | 90 | void isp1760_hcd_unregister(struct isp1760_hcd *priv); |
91 | 91 | ||
92 | int isp1760_init_kmem_once(void); | 92 | int isp1760_init_kmem_once(void); |
93 | void isp1760_deinit_kmem_cache(void); | 93 | void isp1760_deinit_kmem_cache(void); |