Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275904
b: refs/heads/master
c: 04b3867
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai authored and Keith Packard committed Nov 17, 2011
1 parent d5825f0 commit 9af52c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 457eafce618cf89125da9d79751d81241bd3fa34
refs/heads/master: 04b38670cf46c096705f24e92a8747d1ab89e53c
3 changes: 2 additions & 1 deletion trunk/drivers/gpu/drm/i915/intel_panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ static int intel_panel_update_status(struct backlight_device *bd)
static int intel_panel_get_brightness(struct backlight_device *bd)
{
struct drm_device *dev = bl_get_data(bd);
return intel_panel_get_backlight(dev);
struct drm_i915_private *dev_priv = dev->dev_private;
return dev_priv->backlight_level;
}

static const struct backlight_ops intel_panel_bl_ops = {
Expand Down

0 comments on commit 9af52c5

Please sign in to comment.