radeonfb backlight fix

From: James Simmons
Date: Tue Feb 16 2010 - 13:19:40 EST



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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/