qcacmn: Fix for Header File inclusion
Compilation is failing due to Missing definition of KERNEL_VERSION as the Header file is added before including <linux/version.h>. Fix is to move the Header file at the end. CRs-Fixed: 3338337 Change-Id: I83fc448becc4af81df9b4c7b3fe9193875c7f6f1
This commit is contained in:

committed by
Madan Koyyalamudi

parent
a2ddd8956b
commit
ef32f35aed
@@ -21,9 +21,6 @@
|
|||||||
* DOC: qdf_nbuf.c
|
* DOC: qdf_nbuf.c
|
||||||
* QCA driver framework(QDF) network buffer management APIs
|
* QCA driver framework(QDF) network buffer management APIs
|
||||||
*/
|
*/
|
||||||
#ifdef IPA_OFFLOAD
|
|
||||||
#include <i_qdf_ipa_wdi3.h>
|
|
||||||
#endif
|
|
||||||
#include <linux/hashtable.h>
|
#include <linux/hashtable.h>
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
@@ -54,6 +51,10 @@
|
|||||||
#include <linux/ip.h>
|
#include <linux/ip.h>
|
||||||
#endif /* FEATURE_TSO */
|
#endif /* FEATURE_TSO */
|
||||||
|
|
||||||
|
#ifdef IPA_OFFLOAD
|
||||||
|
#include <i_qdf_ipa_wdi3.h>
|
||||||
|
#endif /* IPA_OFFLOAD */
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 13, 0)
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 13, 0)
|
||||||
|
|
||||||
#define qdf_nbuf_users_inc atomic_inc
|
#define qdf_nbuf_users_inc atomic_inc
|
||||||
|
Reference in New Issue
Block a user