aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/riva
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/riva')
-rw-r--r--drivers/video/riva/fbdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c
index a433cc78ef90..a160c4de2ca2 100644
--- a/drivers/video/riva/fbdev.c
+++ b/drivers/video/riva/fbdev.c
@@ -383,7 +383,7 @@ static void riva_bl_init(struct riva_par *par)
383 383
384 snprintf(name, sizeof(name), "rivabl%d", info->node); 384 snprintf(name, sizeof(name), "rivabl%d", info->node);
385 385
386 bd = backlight_device_register(name, par, &riva_bl_data); 386 bd = backlight_device_register(name, info->dev, par, &riva_bl_data);
387 if (IS_ERR(bd)) { 387 if (IS_ERR(bd)) {
388 info->bl_dev = NULL; 388 info->bl_dev = NULL;
389 printk(KERN_WARNING "riva: Backlight registration failed\n"); 389 printk(KERN_WARNING "riva: Backlight registration failed\n");