Author: leigh123linux
Update of /cvs/nonfree/rpms/nvidia-304xx-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv7812
Modified Files:
nvidia_3.13_kernel.patch
Log Message:
more patch tweaks
nvidia_3.13_kernel.patch:
nv-acpi.c | 7 +++++++
1 file changed, 7 insertions(+)
Index: nvidia_3.13_kernel.patch
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-304xx-kmod/devel/nvidia_3.13_kernel.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- nvidia_3.13_kernel.patch 21 Jan 2014 22:40:01 -0000 1.3
+++ nvidia_3.13_kernel.patch 10 Feb 2014 16:20:51 -0000 1.4
@@ -1,5 +1,16 @@
--- a/kernel/nv-acpi.c
+++ b/kernel/nv-acpi.c
+@@ -15,6 +15,10 @@
+ #include "nv-linux.h"
+ #include "nv-reg.h"
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0) && defined(ACPI_HANDLE)
++#define DEVICE_ACPI_HANDLE(a) ACPI_HANDLE(a)
++#endif
++
+ #if defined(NV_LINUX_ACPI_EVENTS_SUPPORTED)
+
+ static int nv_acpi_add (struct acpi_device *);
@@ -299,7 +299,10 @@ static int nv_acpi_remove(struct acpi_de
if (pNvAcpiObject->notify_handler_installed)