From: Richard Purdie Date: Tue, 6 Mar 2007 23:29:33 +0000 (+0100) Subject: [ARM] 4250/1: Fix locomo backlight conversion error/compile failure X-Git-Tag: v2.6.21-rc4~48^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2a391a184551d5ffdee73c740a06f6a0a16f7ed5;p=linux-2.6-omap-h63xx.git [ARM] 4250/1: Fix locomo backlight conversion error/compile failure Fix locomo backlight conversion error and subsequent compile failure from commit 599a52d12629394236d785615808845823875868. Signed-off-by: RIchard Purdie Signed-off-by: Russell King --- diff --git a/drivers/video/backlight/locomolcd.c b/drivers/video/backlight/locomolcd.c index d1312477813..6b488b8a7ee 100644 --- a/drivers/video/backlight/locomolcd.c +++ b/drivers/video/backlight/locomolcd.c @@ -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);