diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:10:00 +0000 |
---|---|---|
committer | Andy Green <andy@openmoko.com> | 2008-11-19 17:10:00 +0000 |
commit | d2c9e64d4b464c67306ac6ffc636c22066c79de8 (patch) | |
tree | 9ab9daa871ee15c162e23ac60ad7b94b8ceca4e1 /drivers/i2c/chips | |
parent | 822c4eb3afe23cefc46a9da6c8e8fc24d443c330 (diff) |
fix-backlight-def-pcf50633.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/i2c/chips')
-rw-r--r-- | drivers/i2c/chips/pcf50633.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/chips/pcf50633.c b/drivers/i2c/chips/pcf50633.c index 86ec6eb9c60..2c739b41fe1 100644 --- a/drivers/i2c/chips/pcf50633.c +++ b/drivers/i2c/chips/pcf50633.c @@ -1888,8 +1888,8 @@ static int __pcf50633bl_set_intensity(struct pcf50633_data *pcf, int intensity) if (!(reg_read(pcf, PCF50633_REG_LEDENA) & 1)) old_intensity = 0; - if ((bd->props.power != FB_BLANK_UNBLANK) || - (bd->props.fb_blank != FB_BLANK_UNBLANK)) + if ((pcf->backlight->props.power != FB_BLANK_UNBLANK) || + (pcf->backlight->props.fb_blank != FB_BLANK_UNBLANK)) intensity = 0; /* |