]> err.no Git - linux-2.6/commitdiff
backlight: Fix up hp680_bl build.
authorKristoffer Ericson <Kristoffer.Ericson@gmail.com>
Tue, 11 Sep 2007 03:44:38 +0000 (12:44 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:53 +0000 (11:57 +0900)
Trivial build fixes.

Signed-off-by: Kristoffer Ericson <Kristoffer.Ericson@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/backlight/hp680_bl.c

index 0899fccbd5709f203d10ecdd1c5b2b60215606cd..fbea2bd129c73d5eb5f49eacf39f5d5795ef9a3b 100644 (file)
@@ -125,8 +125,8 @@ static int hp680bl_remove(struct platform_device *pdev)
 {
        struct backlight_device *bd = platform_get_drvdata(pdev);
 
-       hp680bl_data.brightness = 0;
-       hp680bl_data.power = 0;
+       bd->props.brightness = 0;
+       bd->props.power = 0;
        hp680bl_send_intensity(bd);
 
        backlight_device_unregister(bd);