summaryrefslogtreecommitdiff
path: root/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-kernel-4.14.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-31 22:11:36 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-31 22:11:36 +0000
commitb802558b456d371e7d87b51af6be0c8f8df64254 (patch)
tree780408b408000d3152bd9f496c284edc0b6ac11d /sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-kernel-4.14.patch
parent264128f9f5495c7968eb158231ea027295aa4950 (diff)
sys-kernel/nvidia-drivers-dkms : drop 304 release ; media-video/qtlmovie : work around broken makefile, and install things by hand
Diffstat (limited to 'sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-kernel-4.14.patch')
-rw-r--r--sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-kernel-4.14.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-kernel-4.14.patch b/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-kernel-4.14.patch
deleted file mode 100644
index 74523080..00000000
--- a/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-kernel-4.14.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -Nur a/kernel/nv-drm.c b/kernel/nv-drm.c
---- a/kernel/nv-drm.c 2017-09-14 21:51:09.000000000 +0100
-+++ b/kernel/nv-drm.c 2017-12-22 15:29:01.080842070 +0000
-@@ -121,8 +121,12 @@
- {
- int ret = 0;
- #if defined(NV_DRM_AVAILABLE)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
-+ ret = drm_legacy_pci_init(&nv_drm_driver, pci_driver);
-+#else
- ret = drm_pci_init(&nv_drm_driver, pci_driver);
- #endif
-+#endif
- return ret;
- }
-
-@@ -131,6 +135,10 @@
- )
- {
- #if defined(NV_DRM_AVAILABLE)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
-+ drm_legacy_pci_exit(&nv_drm_driver, pci_driver);
-+#else
- drm_pci_exit(&nv_drm_driver, pci_driver);
- #endif
-+#endif
- }