qcacmn: Fix CONFIG_CNSS ifdefery
Driver needs to support CONFIG_CNSS not defined. Change-Id: I6c0112274fe5aa1ab3803a19efccee0381bc1964 CRs-Fixed: 1012824
Этот коммит содержится в:

коммит произвёл
Akash Patel

родитель
b3e469d6e3
Коммит
4849fcc9cd
@@ -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"));
|
||||
|
Ссылка в новой задаче
Block a user