|
@@ -2577,8 +2577,6 @@ void ath10k_pci_hif_power_down(struct ath10k *ar)
|
|
*/
|
|
*/
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_PM
|
|
|
|
-
|
|
|
|
static int ath10k_pci_hif_suspend(struct ath10k *ar)
|
|
static int ath10k_pci_hif_suspend(struct ath10k *ar)
|
|
{
|
|
{
|
|
/* Nothing to do; the important stuff is in the driver suspend. */
|
|
/* Nothing to do; the important stuff is in the driver suspend. */
|
|
@@ -2627,7 +2625,6 @@ static int ath10k_pci_resume(struct ath10k *ar)
|
|
|
|
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
-#endif
|
|
|
|
|
|
|
|
static bool ath10k_pci_validate_cal(void *data, size_t size)
|
|
static bool ath10k_pci_validate_cal(void *data, size_t size)
|
|
{
|
|
{
|
|
@@ -2782,10 +2779,8 @@ static const struct ath10k_hif_ops ath10k_pci_hif_ops = {
|
|
.power_down = ath10k_pci_hif_power_down,
|
|
.power_down = ath10k_pci_hif_power_down,
|
|
.read32 = ath10k_pci_read32,
|
|
.read32 = ath10k_pci_read32,
|
|
.write32 = ath10k_pci_write32,
|
|
.write32 = ath10k_pci_write32,
|
|
-#ifdef CONFIG_PM
|
|
|
|
.suspend = ath10k_pci_hif_suspend,
|
|
.suspend = ath10k_pci_hif_suspend,
|
|
.resume = ath10k_pci_hif_resume,
|
|
.resume = ath10k_pci_hif_resume,
|
|
-#endif
|
|
|
|
.fetch_cal_eeprom = ath10k_pci_hif_fetch_cal_eeprom,
|
|
.fetch_cal_eeprom = ath10k_pci_hif_fetch_cal_eeprom,
|
|
};
|
|
};
|
|
|
|
|