[Intel-gfx] [PATCH xf86-video-intel] sna: Fix OpenBSD backlight control implementation

Mark Kettenis mark.kettenis at xs4all.nl
Mon Mar 25 22:40:35 CET 2013


From: Mark Kettenis <kettenis at openbsd.org>

Fix cut'n'paste error such that this actually compiles.

Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
---
 src/sna/sna_display.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 7891c8d..6d61650 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -257,9 +257,9 @@ sna_output_backlight_init(xf86OutputPtr output)
 
 	DBG(("%s: found 'wscons'\n", __FUNCTION__));
 
-	intel_output->backlight_iface = "wscons";
-	intel_output->backlight_max = param.max;
-	intel_output->backlight_active_level = param.curval;
+	sna_output->backlight_iface = "wscons";
+	sna_output->backlight_max = param.max;
+	sna_output->backlight_active_level = param.curval;
 }
 
 #else
-- 
1.8.1.2




More information about the Intel-gfx mailing list