mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Add CONFIG_PM flag for PLD pcie suspend/resume
Add CONFIG_PM flag for PLD pcie suspend/resume as it is not needed in other platform when CONFIG_PM is not defined. Change-Id: Iab04d15c81cbb94ccbdeb9be2b00fa069a421a86 CRs-Fixed: 1014363
This commit is contained in:
parent
a6cedee349
commit
25c66e1ac9
1 changed files with 2 additions and 0 deletions
|
|
@ -242,6 +242,7 @@ static int pld_pcie_runtime_resume(struct pci_dev *pdev)
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
/**
|
||||
* pld_pcie_suspend() - Suspend callback function for power management
|
||||
* @pdev: PCIE device
|
||||
|
|
@ -277,6 +278,7 @@ static int pld_pcie_resume(struct pci_dev *pdev)
|
|||
pld_context = pld_get_global_context();
|
||||
return pld_context->ops->resume(&pdev->dev, PLD_BUS_TYPE_PCIE);
|
||||
}
|
||||
#endif
|
||||
|
||||
static struct pci_device_id pld_pcie_id_table[] = {
|
||||
{ 0x168c, 0x003c, PCI_ANY_ID, PCI_ANY_ID },
|
||||
|
|
|
|||
Loading…
Reference in a new issue