aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chris@pineapple.cat> 2025-08-24 00:55:32 -0400
committerGravatar Chris Xiong <chris@pineapple.cat> 2025-08-24 00:55:32 -0400
commitac5ebc35c9b557be0e38f56d272cfb57f091bc44 (patch)
treeb2c2f20be4c1bf28e84c66c9e45d3a7f7dbf6420
parentd377cba6de395b4234b267c50da1c482d9b2594e (diff)
downloadlinux-legacy-oled-brightness-dev.tar.xz
Fix compilation for 6.16.HEADdev
-rw-r--r--linux-legacy-oled-brightness.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux-legacy-oled-brightness.patch b/linux-legacy-oled-brightness.patch
index ba3dbcc..dc553be 100644
--- a/linux-legacy-oled-brightness.patch
+++ b/linux-legacy-oled-brightness.patch
@@ -84,15 +84,17 @@ index 271b27c9de51..e8c346807d59 100644
}
diff --git a/drivers/gpu/drm/i915/display/intel_dp_legacy_oled_brightness.c b/drivers/gpu/drm/i915/display/intel_dp_legacy_oled_brightness.c
new file mode 100644
-index 000000000000..5ee102ac9006
+index 000000000000..15e0b2bde383
--- /dev/null
+++ b/drivers/gpu/drm/i915/display/intel_dp_legacy_oled_brightness.c
-@@ -0,0 +1,505 @@
+@@ -0,0 +1,507 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2025 Chris Xiong
+ */
+
++#include <drm/drm_print.h>
++
+#include "intel_backlight.h"
+#include "intel_display_core.h"
+#include "intel_display_types.h"