On 03/04/14 16:48, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : [opensuse] Is there a patch for kernel 3.14.xx ? Message-ID : <533CF40A.7030601@iinet.net.au> Date & Time: Thu, 03 Apr 2014 16:39:22 +1100
Basil Chupin <blchupin@iinet.net.au> has written:
Is there a patch for kernel 3.14.x to be able to compile the nVidia driver 331.49 (on oS 13.1)? patch for NVIDIA's driver;
diff -Naurp nvidia-331-331.38.orig/nv-linux.h nvidia-331-331.38/nv-linux.h --- a/kernel/nv-linux.h 2014-02-04 00:20:25.756253881 +0100 +++ b/kernel/nv-linux.h 2014-02-04 00:22:32.076257264 +0100 @@ -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
Regards,
Many thanks for the above - worked a treat! :-) BC -- A civilisation is judged by how it treats the most vulnerable. Lauren Smith - 30 January 2014 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org