All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: intel-gfx@lists.freedesktop.org
Cc: Mark Kettenis <kettenis@openbsd.org>
Subject: [PATCH xf86-video-intel] sna: Fix OpenBSD backlight control implementation
Date: Mon, 25 Mar 2013 22:40:35 +0100	[thread overview]
Message-ID: <1364247635-5074-1-git-send-email-mark.kettenis@xs4all.nl> (raw)

From: Mark Kettenis <kettenis@openbsd.org>

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

Signed-off-by: Mark Kettenis <kettenis@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

             reply	other threads:[~2013-03-25 21:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-25 21:40 Mark Kettenis [this message]
2013-03-26  9:06 ` [PATCH xf86-video-intel] sna: Fix OpenBSD backlight control implementation Chris Wilson
2013-03-26 19:57   ` Mark Kettenis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1364247635-5074-1-git-send-email-mark.kettenis@xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=kettenis@openbsd.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.