mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xf86-video-nvidia: add patch to compile with kernel 3.14
This commit is contained in:
parent
25334ab1c8
commit
07f22135c3
@ -0,0 +1,16 @@
|
||||
diff --git a/kernel/nv-linux.h b/kernel/nv-linux.h
|
||||
index 801c88c..78f8889 100644
|
||||
--- a/kernel/nv-linux.h
|
||||
+++ b/kernel/nv-linux.h
|
||||
@@ -268,6 +268,11 @@ extern int nv_pat_mode;
|
||||
#if !defined(NV_VMWARE) && defined(CONFIG_ACPI)
|
||||
#include <acpi/acpi.h>
|
||||
#include <acpi/acpi_drivers.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
|
||||
+#include <acpi/acpi_bus.h>
|
||||
+#endif
|
||||
+
|
||||
#if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID)
|
||||
#define NV_LINUX_ACPI_EVENTS_SUPPORTED 1
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user