diff options
author | James Simmons <jsimmons@infradead.org> | 2006-12-19 12:56:16 -0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-12-20 01:43:42 -0500 |
commit | a8274d57afb83e4954ddcb3f8b7dd1c03a379bd4 (patch) | |
tree | d5e8f8b475df8d06724cde6a4f3f53ed5b93ddee /drivers/video/aty/atyfb_base.c | |
parent | 519ab5f2be65b72cf12ae99c89752bbe79b44df6 (diff) | |
download | op-kernel-dev-a8274d57afb83e4954ddcb3f8b7dd1c03a379bd4.zip op-kernel-dev-a8274d57afb83e4954ddcb3f8b7dd1c03a379bd4.tar.gz |
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/atyfb_base.c')
-rw-r--r-- | drivers/video/aty/atyfb_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index b77b309..cc4bd80 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c @@ -2221,7 +2221,7 @@ static void aty_bl_init(struct atyfb_par *par) snprintf(name, sizeof(name), "atybl%d", info->node); - bd = backlight_device_register(name, par, &aty_bl_data); + bd = backlight_device_register(name, info->dev, par, &aty_bl_data); if (IS_ERR(bd)) { info->bl_dev = NULL; printk(KERN_WARNING "aty: Backlight registration failed\n"); |