Android-x86
Fork
Spenden

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-kernel-drivers: Commit

external/kernel-drivers


Commit MetaInfo

Revision4fc5b1ac66f7882021c20907b2f64cf29a3b5276 (tree)
Zeit2019-01-24 16:21:37
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Fix building errors with kernel < 4.11

Ändern Zusammenfassung

Diff

--- a/rtl8723bu/include/osdep_service.h
+++ b/rtl8723bu/include/osdep_service.h
@@ -20,9 +20,6 @@
2020 #ifndef __OSDEP_SERVICE_H_
2121 #define __OSDEP_SERVICE_H_
2222
23-#include <linux/signal.h>
24-#include <linux/sched/signal.h>
25-
2623 #define _FAIL 0
2724 #define _SUCCESS 1
2825 #define RTW_RX_HANDLED 2
@@ -34,9 +31,6 @@
3431 #undef _FALSE
3532 #define _FALSE 0
3633
37-#include <linux/signal.h>
38-#include <linux/sched/signal.h>
39-
4034 #ifdef PLATFORM_FREEBSD
4135 #include <osdep_service_bsd.h>
4236 #endif
--- a/rtl8723bu/include/osdep_service_linux.h
+++ b/rtl8723bu/include/osdep_service_linux.h
@@ -57,6 +57,9 @@
5757 #include <linux/kthread.h>
5858 #include <linux/list.h>
5959 #include <linux/vmalloc.h>
60+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
61+ #include <linux/sched/signal.h>
62+#endif
6063
6164 #if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,41))
6265 #include <linux/tqueue.h>
Show on old repository browser