summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/locomolcd.c
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-12-30 18:40:11 +0300
committerLen Brown <len.brown@intel.com>2007-01-02 08:06:18 +0300
commit27c5d745ac685c3f48cebd7a9c07707755b4b711 (patch)
tree73d4ccd1f07fb699456ac7297e1e658b0caeca9f /drivers/video/backlight/locomolcd.c
parente22a9a8b703d05f13366c3f2e7e1aa0550bb5ca6 (diff)
downloadlinux-27c5d745ac685c3f48cebd7a9c07707755b4b711.tar.xz
backlight: fix backlight_device_register compile failures
Fix breakage from commit 519ab5f2be65b72cf12ae99c89752bbe79b44df6 which didn't update all references to backlight_device_register causing compile failures. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/video/backlight/locomolcd.c')
-rw-r--r--drivers/video/backlight/locomolcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/locomolcd.c b/drivers/video/backlight/locomolcd.c
index 2d7905410b2a..fc812d96c31d 100644
--- a/drivers/video/backlight/locomolcd.c
+++ b/drivers/video/backlight/locomolcd.c
@@ -184,7 +184,7 @@ static int locomolcd_probe(struct locomo_dev *ldev)
local_irq_restore(flags);
- locomolcd_bl_device = backlight_device_register("locomo-bl", NULL, &locomobl_data);
+ locomolcd_bl_device = backlight_device_register("locomo-bl", &ldev->dev, NULL, &locomobl_data);
if (IS_ERR (locomolcd_bl_device))
return PTR_ERR (locomolcd_bl_device);