[ARM] 4250/1: Fix locomo backlight conversion error/compile failure
authorRichard Purdie <rpurdie@rpsys.net>
Tue, 6 Mar 2007 23:29:33 +0000 (00:29 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 8 Mar 2007 13:34:01 +0000 (13:34 +0000)
Fix locomo backlight conversion error and subsequent compile failure
from commit 599a52d12629394236d785615808845823875868.

Signed-off-by: RIchard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/backlight/locomolcd.c

index d1312477813ee05bafbc95d15a8ead77619f28df..6b488b8a7eee6cb6b0e5a9631239d57aac7e66e9 100644 (file)
@@ -199,8 +199,8 @@ static int locomolcd_remove(struct locomo_dev *dev)
 {
        unsigned long flags;
 
-       locomobl_data.brightness = 0;
-       locomobl_data.power = 0;
+       locomolcd_bl_device->props.brightness = 0;
+       locomolcd_bl_device->props.power = 0;
        locomolcd_set_intensity(locomolcd_bl_device);
 
        backlight_device_unregister(locomolcd_bl_device);