qcacmn: Fix CONFIG_CNSS ifdefery

Driver needs to support CONFIG_CNSS not defined.

Change-Id: I6c0112274fe5aa1ab3803a19efccee0381bc1964
CRs-Fixed: 1012824
Этот коммит содержится в:
Houston Hoffman
2016-05-05 15:42:35 -07:00
коммит произвёл Akash Patel
родитель b3e469d6e3
Коммит 4849fcc9cd
3 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@@ -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"));