Commit 2a391a18 authored by Richard Purdie's avatar Richard Purdie Committed by Russell King

[ARM] 4250/1: Fix locomo backlight conversion error/compile failure

Fix locomo backlight conversion error and subsequent compile failure
from commit 599a52d1.
Signed-off-by: default avatarRIchard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 77483037
...@@ -199,8 +199,8 @@ static int locomolcd_remove(struct locomo_dev *dev) ...@@ -199,8 +199,8 @@ static int locomolcd_remove(struct locomo_dev *dev)
{ {
unsigned long flags; unsigned long flags;
locomobl_data.brightness = 0; locomolcd_bl_device->props.brightness = 0;
locomobl_data.power = 0; locomolcd_bl_device->props.power = 0;
locomolcd_set_intensity(locomolcd_bl_device); locomolcd_set_intensity(locomolcd_bl_device);
backlight_device_unregister(locomolcd_bl_device); backlight_device_unregister(locomolcd_bl_device);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment