[ar71xx] move random MAC address generation into the platform initialization code
[openwrt.git] / target / linux / s3c24xx / patches-2.6.26 / 1225-fix-pcf50633-bd-undef.patch.patch
1 From 7a0be373ddcdb6cdf139eda96309d0292ba7f2da Mon Sep 17 00:00:00 2001
2 From: Andy Green <andy@openmoko.com>
3 Date: Fri, 25 Jul 2008 23:06:21 +0100
4 Subject: [PATCH] fix-pcf50633-bd-undef.patch
5
6 Signed-off-by: Andy Green <andy@openmoko.com>
7 ---
8 drivers/i2c/chips/pcf50633.c | 4 ++--
9 1 files changed, 2 insertions(+), 2 deletions(-)
10
11 diff --git a/drivers/i2c/chips/pcf50633.c b/drivers/i2c/chips/pcf50633.c
12 index 01ffa1d..e33833b 100644
13 --- a/drivers/i2c/chips/pcf50633.c
14 +++ b/drivers/i2c/chips/pcf50633.c
15 @@ -1886,8 +1886,8 @@ static int __pcf50633bl_set_intensity(struct pcf50633_data *pcf, int intensity)
16 if (!(reg_read(pcf, PCF50633_REG_LEDENA) & 1))
17 old_intensity = 0;
18
19 - if ((bd->props.power != FB_BLANK_UNBLANK) ||
20 - (bd->props.fb_blank != FB_BLANK_UNBLANK))
21 + if ((pcf->backlight->props.power != FB_BLANK_UNBLANK) ||
22 + (pcf->backlight->props.fb_blank != FB_BLANK_UNBLANK))
23 intensity = 0;
24
25 /*
26 --
27 1.5.6.3
28
This page took 0.052161 seconds and 5 git commands to generate.