mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-15 16:25:35 +00:00
fix build error on L5.12
meet below build error log: /home/sherry/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_pcie.c: In function ‘woal_request_pmqos_busfreq_high’: /home/sherry/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:143:31: error: ‘woal_pcie_pm_qos_req’ undeclared (first use in this function) 143 | cpu_latency_qos_add_request(&woal_pcie_pm_qos_req, 0); | ^~~~~~~~~~~~~~~~~~~~ /home/sherry/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:143:31: note: each undeclared identifier is reported only once for each function it appears in /home/sherry/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_pcie.c: In function ‘woal_release_pmqos_busfreq_high’: /home/sherry/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_pcie.c:171:34: error: ‘woal_pcie_pm_qos_req’ undeclared (first use in this function) 171 | cpu_latency_qos_remove_request(&woal_pcie_pm_qos_req); | ^~~~~~~~~~~~~~~~~~~~ Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Reviewed-by: yang.tian <yang.tian@nxp.com>
This commit is contained in:
parent
65886a1976
commit
b467c5d59d
1 changed files with 0 additions and 2 deletions
|
@ -44,13 +44,11 @@ Change log:
|
||||||
Local Variables
|
Local Variables
|
||||||
********************************************************/
|
********************************************************/
|
||||||
#define DRV_NAME "NXP mdriver PCIe"
|
#define DRV_NAME "NXP mdriver PCIe"
|
||||||
#if LINUX_VERSION_CODE <= KERNEL_VERSION(5, 11, 0)
|
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35)
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35)
|
||||||
#ifdef IMX_SUPPORT
|
#ifdef IMX_SUPPORT
|
||||||
static struct pm_qos_request woal_pcie_pm_qos_req;
|
static struct pm_qos_request woal_pcie_pm_qos_req;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
/* PCIE resume handler */
|
/* PCIE resume handler */
|
||||||
static int woal_pcie_resume(struct pci_dev *pdev);
|
static int woal_pcie_resume(struct pci_dev *pdev);
|
||||||
|
|
Loading…
Reference in a new issue