lkml.org 
[lkml]   [2010]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectradeonfb backlight fix

A simple patch to allow radeonfb to compile if the backlight option is
set.

diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c
index 6c37e8e..2c01726 100644
--- a/drivers/video/aty/radeon_base.c
+++ b/drivers/video/aty/radeon_base.c
@@ -276,7 +276,7 @@ static int nomtrr = 0;
#endif
static int force_sleep;
static int ignore_devlist;
-#ifdef CONFIG_PMAC_BACKLIGHT
+#ifdef CONFIG_FB_RADEON_BACKLIGHT
static int backlight = 1;
#else
static int backlight = 0;

\
 
 \ /
  Last update: 2010-02-16 19:21    [W:0.045 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site