mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
qcacmn: Fix CONFIG_CNSS ifdefery
Driver needs to support CONFIG_CNSS not defined. Change-Id: I6c0112274fe5aa1ab3803a19efccee0381bc1964 CRs-Fixed: 1012824
This commit is contained in:
parent
b3e469d6e3
commit
4849fcc9cd
3 changed files with 4 additions and 2 deletions
|
|
@ -42,8 +42,8 @@
|
|||
#include "ce_tasklet.h"
|
||||
#ifdef CONFIG_CNSS
|
||||
#include <net/cnss.h>
|
||||
#include "platform_icnss.h"
|
||||
#endif
|
||||
#include "platform_icnss.h"
|
||||
#include "hif_debug.h"
|
||||
#include "hif_napi.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,9 @@
|
|||
#include "hif_debug.h"
|
||||
#include "qdf_status.h"
|
||||
#include "qwlan_version.h"
|
||||
#ifdef CONFIG_CNSS
|
||||
#include <net/cnss.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* struct icnss_stub_entry
|
||||
|
|
|
|||
|
|
@ -2315,7 +2315,7 @@ void hif_pci_prevent_linkdown(struct hif_softc *scn, bool flag)
|
|||
cnss_wlan_pm_control(flag);
|
||||
}
|
||||
#else
|
||||
void hif_pci_prevent_linkdown(struct hif_opaque_softc *scn, bool flag)
|
||||
void hif_pci_prevent_linkdown(struct hif_softc *scn, bool flag)
|
||||
{
|
||||
HIF_ERROR("wlan: %s pcie power collapse",
|
||||
(flag ? "disable" : "enable"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue