commit 13088fe5d991544d1a8b52f690783eb9aef239fe
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Mon Sep 30 07:40:38 2019 +0100
tweak patch
linux_5.4.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/linux_5.4.patch b/linux_5.4.patch
index 775f9f2..d7179a7 100644
--- a/linux_5.4.patch
+++ b/linux_5.4.patch
@@ -5,7 +5,7 @@
static struct drm_driver nv_drm_driver = {
+#include <linux/version.h>
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
+ .driver_features = DRIVER_GEM | DRIVER_RENDER,
+#else
.driver_features = DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER,