xf86-video-intel: src/intel_display.c

Chris Wilson ickle at kemper.freedesktop.org
Wed Sep 5 07:28:30 PDT 2012


 src/intel_display.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 886f3cef4101a674bb62656cf7f3046643cae4b1
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Sep 5 15:27:21 2012 +0100

    uxa: Fix cut'n'paste error in Option "Backlight"
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/intel_display.c b/src/intel_display.c
index 233c6af..0372f9f 100644
--- a/src/intel_display.c
+++ b/src/intel_display.c
@@ -265,7 +265,7 @@ intel_output_backlight_init(xf86OutputPtr output)
 	if (str != NULL) {
 		sprintf(path, "%s/%s", BACKLIGHT_CLASS, str);
 		if (!stat(path, &buf)) {
-			intel_output->backlight_iface = backlight_interfaces[i];
+			intel_output->backlight_iface = str;
 			intel_output->backlight_max = intel_output_backlight_get_max(output);
 			if (intel_output->backlight_max > 0) {
 				xf86DrvMsg(output->scrn->scrnIndex, X_CONFIG,


More information about the xorg-commit mailing list