diff options
author | Keshava Munegowda | 2011-10-11 09:52:11 +0200 |
---|---|---|
committer | Paul Walmsley | 2011-12-16 12:29:57 +0100 |
commit | 6c984b066d84bb6e8f5a739ffb1dc4858df017a3 (patch) | |
tree | fd4212e8822cb1970326ffe4189e4e665eda5e5e /arch | |
parent | ARM: OMAP: USB: device name change for the clk names of usbhs (diff) | |
download | kernel-qcow2-linux-6c984b066d84bb6e8f5a739ffb1dc4858df017a3.tar.gz kernel-qcow2-linux-6c984b066d84bb6e8f5a739ffb1dc4858df017a3.tar.xz kernel-qcow2-linux-6c984b066d84bb6e8f5a739ffb1dc4858df017a3.zip |
ARM: OMAP: USBHOST: Replace usbhs core driver APIs by Runtime pm APIs
The ehci and ohci drivers does not use the APIs of the usbhs
core driver; the runtime pm APIs are used for clock
enable/disable. Since usbhs is parent platform device of the
ehci and ohci devices, the runtime apis indirectly uses the
usb hs core device as input parameter to for clock functions.
Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Reviewed-by: Partha Basak <parthab@india.ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-omap/include/plat/usb.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/usb.h b/arch/arm/plat-omap/include/plat/usb.h index 17d3c939775c..2b66dc266bcf 100644 --- a/arch/arm/plat-omap/include/plat/usb.h +++ b/arch/arm/plat-omap/include/plat/usb.h @@ -100,9 +100,6 @@ extern void usb_musb_init(struct omap_musb_board_data *board_data); extern void usbhs_init(const struct usbhs_omap_board_data *pdata); -extern int omap_usbhs_enable(struct device *dev); -extern void omap_usbhs_disable(struct device *dev); - extern int omap4430_phy_power(struct device *dev, int ID, int on); extern int omap4430_phy_set_clk(struct device *dev, int on); extern int omap4430_phy_init(struct device *dev); |