1
0
mirror of https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git synced 2025-04-29 15:19:40 +02:00

Fix get_ds() version mismatch on kernel v5.1.x (Replace get_ds() with KERNEL_DS) (#295)

This commit is contained in:
MJaoune 2019-05-15 19:37:22 +03:00 committed by Harshavardhana
parent 9f09c7627b
commit 93ded0fa59

View File

@ -32,6 +32,10 @@ atomic_t _malloc_size = ATOMIC_INIT(0);
#endif
#endif /* DBG_MEMORY_LEAK */
/* This is to fix get_ds() type mismatch on kernels above 5.1.x */
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0))
#define get_ds() KERNEL_DS
#endif
#if defined(PLATFORM_LINUX)
/*