diff options
| author | Komal Seelam <kseelam@qti.qualcomm.com> | 2015-10-01 14:51:33 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2015-10-05 15:00:34 +0530 |
| commit | ff3449bf509d7f48cdaea2659c574eca5fb4e058 (patch) | |
| tree | d2445d5d4b8af487ddec501437ce59a57b848569 | |
| parent | e2ce76560b858d275484b01f1fa224fcc12592d7 (diff) | |
qcacld-2.0: Fix Compilation errors for sdio and usb drivers
Fix Compilation errors due to Runtime PM for SDIO and USB Drivers.
Change-Id: Id1d66eaac8fa5a7a3cfddb8a9517e8e42f222c4e
CRs-Fixed: 908372
| -rw-r--r-- | CORE/SERVICES/HIF/USB/if_usb.c | 24 | ||||
| -rw-r--r-- | CORE/SERVICES/HIF/sdio/linux/if_ath_sdio.c | 15 |
2 files changed, 0 insertions, 39 deletions
diff --git a/CORE/SERVICES/HIF/USB/if_usb.c b/CORE/SERVICES/HIF/USB/if_usb.c index 593f7d82521d..6bc42a66f8ef 100644 --- a/CORE/SERVICES/HIF/USB/if_usb.c +++ b/CORE/SERVICES/HIF/USB/if_usb.c @@ -674,28 +674,4 @@ void hif_set_fw_info(void *ol_sc, u32 target_fw_version) ((struct ol_softc *)ol_sc)->target_fw_version = target_fw_version; } -int hif_pm_runtime_prevent_suspend(void *ol_sc) -{ - if (usb_sc && usb_sc->interface) - return usb_autopm_get_interface_async(usb_sc->interface); - else { - pr_err("%s: USB interface isn't ready for autopm\n", __func__); - return 0; - } -} - -int hif_pm_runtime_allow_suspend(void *ol_sc) -{ - if (usb_sc && usb_sc->interface) - usb_autopm_put_interface_async(usb_sc->interface); - else - pr_err("%s: USB interface isn't ready for autopm\n", __func__); - return 0; -} - -int hif_pm_runtime_prevent_suspend_timeout(void *ol_sc, unsigned int delay) -{ - return 0; -} - MODULE_LICENSE("Dual BSD/GPL"); diff --git a/CORE/SERVICES/HIF/sdio/linux/if_ath_sdio.c b/CORE/SERVICES/HIF/sdio/linux/if_ath_sdio.c index e7ee51c45cf1..b799c8368a86 100644 --- a/CORE/SERVICES/HIF/sdio/linux/if_ath_sdio.c +++ b/CORE/SERVICES/HIF/sdio/linux/if_ath_sdio.c @@ -425,18 +425,3 @@ void hif_set_fw_info(void *ol_sc, u32 target_fw_version) { ((struct ol_softc *)ol_sc)->target_fw_version = target_fw_version; } - -int hif_pm_runtime_prevent_suspend(void *ol_sc) -{ - return 0; -} - -int hif_pm_runtime_allow_suspend(void *ol_sc) -{ - return 0; -} - -int hif_pm_runtime_prevent_suspend_timeout(void *ol_sc, unsigned int delay) -{ - return 0; -} |
