qcacmn: Add WIN Driver Compilation fix
Initially, the QCA Wi-Fi driver was ported to support kernel 4.4. However, after the code changes due to converged code, few issues were re-created when compiled on kernel 4.4.X. This change resolves the newly introduced issues by the converged code changes. Change-Id: Iae76cdfee97675ff4bf2508ce5a42f08515bb168 CRs-Fixed: 1012511
This commit is contained in:

committed by
Vishwajith Upendra

parent
08bd3dcacb
commit
b348ba478a
@@ -62,7 +62,15 @@
|
||||
#define kfree(buf)
|
||||
#define vfree(buf)
|
||||
#define pci_alloc_consistent(dev, size, paddr) NULL
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)
|
||||
/*
|
||||
* typedef to dummy type to overcome implicit declaration error in
|
||||
* spectraltool.c
|
||||
*/
|
||||
#define __qdf_mempool_t int
|
||||
#else
|
||||
#define __qdf_mempool_t
|
||||
#endif /* LINUX_VERSION_CODE */
|
||||
#endif /* __KERNEL__ */
|
||||
#include <qdf_status.h>
|
||||
|
||||
|
Reference in New Issue
Block a user