diff options
author | Roger Quadros <rogerq@ti.com> | 2013-01-29 14:00:03 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-04-09 09:46:23 +0200 |
commit | 9f4a3ece05a6c2f2dc5e4967602e9927addab97e (patch) | |
tree | 562d2e4d87906238d8e145466477f1263dd2211b /drivers/mfd/omap-usb.h | |
parent | mfd: omap-usb-host: Update nports in platform_data (diff) | |
download | linux-9f4a3ece05a6c2f2dc5e4967602e9927addab97e.tar.xz linux-9f4a3ece05a6c2f2dc5e4967602e9927addab97e.zip |
mfd: omap-usb-tll: Move configuration code to omap_tll_init()
This is because we want to get rid of platform_data usage from probe().
The only information we need is PORT_MODE, and this can be supplied
to us by the user (i.e. omap-usb-host.c).
We also move channel clock management from runtime PM handlers into
omap_tll_enable/disable().
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/omap-usb.h')
-rw-r--r-- | drivers/mfd/omap-usb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mfd/omap-usb.h b/drivers/mfd/omap-usb.h index 972aa961b064..2a508b6aeac8 100644 --- a/drivers/mfd/omap-usb.h +++ b/drivers/mfd/omap-usb.h @@ -1,2 +1,3 @@ -extern int omap_tll_enable(void); -extern int omap_tll_disable(void); +extern int omap_tll_init(struct usbhs_omap_platform_data *pdata); +extern int omap_tll_enable(struct usbhs_omap_platform_data *pdata); +extern int omap_tll_disable(struct usbhs_omap_platform_data *pdata); |