aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/hp680_bl.c
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-12-30 15:40:11 +0000
committerLen Brown <len.brown@intel.com>2007-01-02 00:06:18 -0500
commit27c5d745ac685c3f48cebd7a9c07707755b4b711 (patch)
tree73d4ccd1f07fb699456ac7297e1e658b0caeca9f /drivers/video/backlight/hp680_bl.c
parent[PATCH] sound: hda: detect ALC883 on MSI K9A Platinum motherboards (MS-7280) (diff)
downloadlinux-dev-27c5d745ac685c3f48cebd7a9c07707755b4b711.tar.xz
linux-dev-27c5d745ac685c3f48cebd7a9c07707755b4b711.zip
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/hp680_bl.c')
-rw-r--r--drivers/video/backlight/hp680_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/hp680_bl.c b/drivers/video/backlight/hp680_bl.c
index 1c569fb543ae..c07d8207fb54 100644
--- a/drivers/video/backlight/hp680_bl.c
+++ b/drivers/video/backlight/hp680_bl.c
@@ -105,7 +105,7 @@ static struct backlight_properties hp680bl_data = {
static int __init hp680bl_probe(struct platform_device *dev)
{
hp680_backlight_device = backlight_device_register ("hp680-bl",
- NULL, &hp680bl_data);
+ &dev->dev, NULL, &hp680bl_data);
if (IS_ERR (hp680_backlight_device))
return PTR_ERR (hp680_backlight_device);