mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 12:46:53 +00:00
Merge pull request #3089 from t4ndeta/nvidia-acpi-fix
xf86-video-nvidia: fix acpi support
This commit is contained in:
commit
0b43c3d214
@ -8,7 +8,7 @@ index 801c88c..78f8889 100644
|
|||||||
#include <acpi/acpi_drivers.h>
|
#include <acpi/acpi_drivers.h>
|
||||||
+
|
+
|
||||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
|
||||||
+#include <acpi/acpi_bus.h>
|
+#include <linux/acpi.h>
|
||||||
+#endif
|
+#endif
|
||||||
+
|
+
|
||||||
#if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID)
|
#if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user