summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2013-03-25 22:40:35 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-03-26 09:03:58 +0000
commit761ab4124e00b3dbab15abe69a9b29d9c3d0da0d (patch)
treea8f29db9fd0d7785c0068b273a1516a35dc8c033
parent0a9b136ec43c860e6e6e651efea0330ac36a4ea5 (diff)
sna: Fix OpenBSD backlight control implementation
Fix cut'n'paste error such that this actually compiles. Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
-rw-r--r--src/sna/sna_display.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 7891c8d0..6d61650b 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