diff options
author | James Simmons <jsimmons@infradead.org> | 2006-12-19 21:56:16 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-12-20 07:43:42 +0100 |
commit | a8274d57afb83e4954ddcb3f8b7dd1c03a379bd4 (patch) | |
tree | d5e8f8b475df8d06724cde6a4f3f53ed5b93ddee /drivers/video/aty/radeon_backlight.c | |
parent | ACPI: video: Add dev argument for backlight_device_register (diff) | |
download | linux-a8274d57afb83e4954ddcb3f8b7dd1c03a379bd4.tar.xz linux-a8274d57afb83e4954ddcb3f8b7dd1c03a379bd4.zip |
fbdev: update after backlight argument change
Update the frambuffer drivers to the backlight_device_registers changes.
Signed-off-by: James Simmons <jsimmons@infradead.org>
Cc: Luming Yu <Luming.yu@intel.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/video/aty/radeon_backlight.c')
-rw-r--r-- | drivers/video/aty/radeon_backlight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/aty/radeon_backlight.c b/drivers/video/aty/radeon_backlight.c index 585eb7b9e636..3abfd4a380cc 100644 --- a/drivers/video/aty/radeon_backlight.c +++ b/drivers/video/aty/radeon_backlight.c @@ -163,7 +163,7 @@ void radeonfb_bl_init(struct radeonfb_info *rinfo) snprintf(name, sizeof(name), "radeonbl%d", rinfo->info->node); - bd = backlight_device_register(name, pdata, &radeon_bl_data); + bd = backlight_device_register(name, rinfo->info->dev, pdata, &radeon_bl_data); if (IS_ERR(bd)) { rinfo->info->bl_dev = NULL; printk("radeonfb: Backlight registration failed\n"); |