diff options
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | 2010-12-07 18:57:45 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2010-12-10 10:21:35 +0200 |
commit | a9c037832e9624e240c5019d0e01e9352e8f638d (patch) | |
tree | 5d90651ae6180954029a66f074cdec01b5b95d5c /arch/arm/plat-omap/include/plat | |
parent | 46960847ef3e3a5d395121635fffa5dfa279fe90 (diff) | |
download | op-kernel-dev-a9c037832e9624e240c5019d0e01e9352e8f638d.zip op-kernel-dev-a9c037832e9624e240c5019d0e01e9352e8f638d.tar.gz |
musb: am35x: fix compile error due to control apis
commit 4814ced5116e3b73dc4f63eec84999739fc8ed11 (OMAP:
control: move plat-omap/control.h to mach-omap2/control.h)
moved <plat/control.h> to another location, preventing
drivers from accessing it, so we need to pass function
pointers from arch code to be able to talk to internal
PHY on AM35x.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat')
-rw-r--r-- | arch/arm/plat-omap/include/plat/usb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/usb.h b/arch/arm/plat-omap/include/plat/usb.h index 9b1893f..5c02416 100644 --- a/arch/arm/plat-omap/include/plat/usb.h +++ b/arch/arm/plat-omap/include/plat/usb.h @@ -70,6 +70,10 @@ struct omap_musb_board_data { u8 mode; u16 power; unsigned extvbus:1; + void (*set_phy_power)(u8 on); + void (*clear_irq)(void); + void (*set_mode)(u8 mode); + void (*reset)(void); }; enum musb_interface {MUSB_INTERFACE_ULPI, MUSB_INTERFACE_UTMI}; |