mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
RTL8812AU: update 4.11.0 kernel fix, renumber
This commit is contained in:
parent
be12fb0fb3
commit
788c0d1dec
@ -0,0 +1,26 @@
|
|||||||
|
From 3224e74ad9c230b74a658e80dad66ab95c9e2ef5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Vladimir Menshakov <vladimir.menshakov@gmail.com>
|
||||||
|
Date: Tue, 16 May 2017 13:40:44 +0100
|
||||||
|
Subject: [PATCH] added missing includes for linux-4.11.x
|
||||||
|
|
||||||
|
---
|
||||||
|
include/osdep_service_linux.h | 5 +++++
|
||||||
|
1 file changed, 5 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/include/osdep_service_linux.h b/include/osdep_service_linux.h
|
||||||
|
index 12fdd7e..560762d 100644
|
||||||
|
--- a/include/osdep_service_linux.h
|
||||||
|
+++ b/include/osdep_service_linux.h
|
||||||
|
@@ -68,6 +68,11 @@
|
||||||
|
#include <linux/limits.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0))
|
||||||
|
+ #include <linux/signal.h>
|
||||||
|
+ #include <linux/sched/signal.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#ifdef RTK_DMP_PLATFORM
|
||||||
|
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12))
|
||||||
|
#include <linux/pageremap.h>
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
From 14eb40c9bcbb68044361334d5f95a4f63ebc8775 Mon Sep 17 00:00:00 2001
|
|
||||||
From: MilhouseVH <milhouseVH.github@nmacleod.com>
|
|
||||||
Date: Mon, 13 Mar 2017 19:47:38 +0000
|
|
||||||
Subject: [PATCH] RTL8812AU: Fix build for API changes in kernel 4.11
|
|
||||||
|
|
||||||
---
|
|
||||||
include/osdep_service.h | 4 ++++
|
|
||||||
1 file changed, 4 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/include/osdep_service.h b/include/osdep_service.h
|
|
||||||
index 82e27c5..d866551 100644
|
|
||||||
--- a/include/osdep_service.h
|
|
||||||
+++ b/include/osdep_service.h
|
|
||||||
@@ -20,6 +20,10 @@
|
|
||||||
#ifndef __OSDEP_SERVICE_H_
|
|
||||||
#define __OSDEP_SERVICE_H_
|
|
||||||
|
|
||||||
+#include <linux/version.h>
|
|
||||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
|
|
||||||
+#include <linux/sched/signal.h>
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
#define _FAIL 0
|
|
||||||
#define _SUCCESS 1
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user