From: Kristoffer Ericson Date: Tue, 11 Sep 2007 03:44:38 +0000 (+0900) Subject: backlight: Fix up hp680_bl build. X-Git-Tag: v2.6.24-rc1~1377^2~62 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb650d67d8ad0fa16c0c61674d980adb25155358;p=linux-2.6 backlight: Fix up hp680_bl build. Trivial build fixes. Signed-off-by: Kristoffer Ericson Signed-off-by: Paul Mundt --- diff --git a/drivers/video/backlight/hp680_bl.c b/drivers/video/backlight/hp680_bl.c index 0899fccbd5..fbea2bd129 100644 --- a/drivers/video/backlight/hp680_bl.c +++ b/drivers/video/backlight/hp680_bl.c @@ -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);