diff options
Diffstat (limited to 'drivers/video/aty/aty128fb.c')
-rw-r--r-- | drivers/video/aty/aty128fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/aty/aty128fb.c b/drivers/video/aty/aty128fb.c index 276a21530b95..5341462b6b48 100644 --- a/drivers/video/aty/aty128fb.c +++ b/drivers/video/aty/aty128fb.c | |||
@@ -1829,7 +1829,7 @@ static void aty128_bl_init(struct aty128fb_par *par) | |||
1829 | 1829 | ||
1830 | snprintf(name, sizeof(name), "aty128bl%d", info->node); | 1830 | snprintf(name, sizeof(name), "aty128bl%d", info->node); |
1831 | 1831 | ||
1832 | bd = backlight_device_register(name, par, &aty128_bl_data); | 1832 | bd = backlight_device_register(name, info->dev, par, &aty128_bl_data); |
1833 | if (IS_ERR(bd)) { | 1833 | if (IS_ERR(bd)) { |
1834 | info->bl_dev = NULL; | 1834 | info->bl_dev = NULL; |
1835 | printk(KERN_WARNING "aty128: Backlight registration failed\n"); | 1835 | printk(KERN_WARNING "aty128: Backlight registration failed\n"); |