The patch titled rivafb: fix initial brightness has been added to the -mm tree. Its filename is rivafb-fix-initial-brightness.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: rivafb: fix initial brightness From: Guido Guenther <agx@xxxxxxxxxxx> This is the rivafb equivalent of 238576e12fef1d52751c6e08db2d0bdb0e248caf. It fixes rivafb having a default backlight brightness of 0 (no picture at all) on a PBook 6,1. Signed-off-by: Guido Guenther <agx@xxxxxxxxxxx> Cc: "Antonino A. Daplas" <adaplas@xxxxxxx> Cc: Richard Purdie <rpurdie@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/riva/fbdev.c | 4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) diff -puN drivers/video/riva/fbdev.c~rivafb-fix-initial-brightness drivers/video/riva/fbdev.c --- a/drivers/video/riva/fbdev.c~rivafb-fix-initial-brightness +++ a/drivers/video/riva/fbdev.c @@ -285,8 +285,6 @@ static const struct riva_regs reg_templa #define MAX_LEVEL 0x534 #define LEVEL_STEP ((MAX_LEVEL - MIN_LEVEL) / FB_BACKLIGHT_MAX) -static struct backlight_properties riva_bl_data; - static int riva_bl_get_level_brightness(struct riva_par *par, int level) { @@ -372,7 +370,7 @@ static void riva_bl_init(struct riva_par FB_BACKLIGHT_MAX); bd->props.max_brightness = FB_BACKLIGHT_LEVELS - 1; - bd->props.brightness = riva_bl_data.max_brightness; + bd->props.brightness = bd->props.max_brightness; bd->props.power = FB_BLANK_UNBLANK; backlight_update_status(bd); _ Patches currently in -mm which might be from agx@xxxxxxxxxxx are rivafb-fix-initial-brightness.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html