15 lines
628 B
Diff
15 lines
628 B
Diff
diff -urN NVIDIA-Linux-x86_64-346.35-no-compat32.orig/kernel/nv-drm.c NVIDIA-Linux-x86_64-346.35-no-compat32/kernel/nv-drm.c
|
|
--- NVIDIA-Linux-x86_64-346.35-no-compat32.orig/kernel/nv-drm.c 2015-01-10 22:30:46.000000000 -0600
|
|
+++ NVIDIA-Linux-x86_64-346.35-no-compat32/kernel/nv-drm.c 2015-02-13 14:26:12.880988829 -0600
|
|
@@ -128,6 +128,10 @@
|
|
.gem_prime_vmap = nv_gem_prime_vmap,
|
|
.gem_prime_vunmap = nv_gem_prime_vunmap,
|
|
|
|
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0)
|
|
+ .set_busid = drm_pci_set_busid,
|
|
+ #endif
|
|
+
|
|
.name = "nvidia-drm",
|
|
.desc = "NVIDIA DRM driver",
|
|
.date = "20130102",
|