From: Hema HK <[email protected]>

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 <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Paul Walmsley <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
---
 include/linux/i2c/twl.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h
index 61b9609..a4bd05b 100644
--- a/include/linux/i2c/twl.h
+++ b/include/linux/i2c/twl.h
@@ -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 {
-- 
1.7.4.rc2

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to