mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Protect cnss_wlan_pm_control under CONFIG_PCI_MSM
Add CONFIG_PCI_MSM flag for cnss_wlan_pm_control. CRs-Fixed: 1010156 Change-Id: Icba6ec0952f899a2602751340a45f597eaf87d35
This commit is contained in:
parent
d698eb6cd3
commit
466ccb70fb
1 changed files with 7 additions and 4 deletions
|
|
@ -88,6 +88,13 @@ static inline void *cnss_get_fw_ptr(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if (!defined(CONFIG_CNSS)) || (!defined(CONFIG_PCI_MSM))
|
||||
static inline int cnss_wlan_pm_control(bool vote)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_CNSS
|
||||
static inline int
|
||||
pld_pcie_get_fw_files_for_target(struct pld_fw_files *pfw_files,
|
||||
|
|
@ -131,10 +138,6 @@ static inline int cnss_wlan_get_dfs_nol(void *info, u16 info_len)
|
|||
{
|
||||
return 0;
|
||||
}
|
||||
static inline int cnss_wlan_pm_control(bool vote)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
static inline void *cnss_get_virt_ramdump_mem(unsigned long *size)
|
||||
{
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue