usb: otg: OMAP4430: Add phy_suspend function pointer to twl4030_usb_data
authorHema HK <hemahk@ti.com>
Thu, 17 Feb 2011 06:36:06 +0000 (12:06 +0530)
committerFelipe Balbi <balbi@ti.com>
Thu, 17 Feb 2011 19:11:46 +0000 (21:11 +0200)
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: Hema HK <hemahk@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
include/linux/i2c/twl.h

index 61b9609e55f25829b80c71583fbccbb0a5922ad6..a4bd05b7bd225787d15a0fa4cbdf36161cb92ad7 100644 (file)
@@ -600,6 +600,8 @@ struct twl4030_usb_data {
        int             (*phy_power)(struct device *dev, int iD, int on);
        /* enable/disable  phy clocks */
        int             (*phy_set_clock)(struct device *dev, int on);
+       /* suspend/resume of phy */
+       int             (*phy_suspend)(struct device *dev, int suspend);
 };
 
 struct twl4030_ins {