diff options
author | Hao Wu <hao.wu@intel.com> | 2010-12-09 10:37:46 +0000 |
---|---|---|
committer | Alan Cox <alan@linux.intel.com> | 2010-12-09 10:37:46 +0000 |
commit | bd8d6557190bc4faf583756e1e19fc826602e76b (patch) | |
tree | 6e4b328a56f5e3c911973a7438363bb6390ff28a /include | |
parent | 861de63d35f01dfc733acde9e9fc797a5c9f0aad (diff) | |
download | mrst-s0i3-test-bd8d6557190bc4faf583756e1e19fc826602e76b.tar.gz mrst-s0i3-test-bd8d6557190bc4faf583756e1e19fc826602e76b.tar.xz mrst-s0i3-test-bd8d6557190bc4faf583756e1e19fc826602e76b.zip |
usb: penwell_otg: add runtime pm support
Add runtime pm support in penwell_otg transceiver driver.
Signed-off-by: Hao Wu <hao.wu@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/intel_mid_otg.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/usb/intel_mid_otg.h b/include/linux/usb/intel_mid_otg.h index c9ec4169a9e..62db8416119 100644 --- a/include/linux/usb/intel_mid_otg.h +++ b/include/linux/usb/intel_mid_otg.h @@ -143,6 +143,13 @@ struct intel_mid_otg_xceiv { int (*suspend_peripheral)(struct intel_mid_otg_xceiv *iotg, pm_message_t message); int (*resume_peripheral)(struct intel_mid_otg_xceiv *iotg); + + /* runtime suspend/resume */ + int (*runtime_suspend_host)(struct intel_mid_otg_xceiv *iotg); + int (*runtime_resume_host)(struct intel_mid_otg_xceiv *iotg); + int (*runtime_suspend_peripheral)(struct intel_mid_otg_xceiv *iotg); + int (*runtime_resume_peripheral)(struct intel_mid_otg_xceiv *iotg); + #endif }; |