Commit d8692748 authored by Hema HK's avatar Hema HK Committed by Felipe Balbi

usb: otg: OMAP4430: Add phy_suspend function pointer to twl4030_usb_data

Declare the .phy_suspend function pointer to twl4030_usb_data structure.
OMAP internal phy suspend function will be hooked though this function
pointer to use in the transceiver driver.
Signed-off-by: default avatarHema HK <hemahk@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 31e9992a
...@@ -600,6 +600,8 @@ struct twl4030_usb_data { ...@@ -600,6 +600,8 @@ struct twl4030_usb_data {
int (*phy_power)(struct device *dev, int iD, int on); int (*phy_power)(struct device *dev, int iD, int on);
/* enable/disable phy clocks */ /* enable/disable phy clocks */
int (*phy_set_clock)(struct device *dev, int on); int (*phy_set_clock)(struct device *dev, int on);
/* suspend/resume of phy */
int (*phy_suspend)(struct device *dev, int suspend);
}; };
struct twl4030_ins { struct twl4030_ins {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment