diff options
author | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
commit | fac7f7f84f3771c5247c7fdee825c092077984f5 (patch) | |
tree | 54644c1229434d7ee13c5872bda4129e34337fc0 /target/linux/s3c24xx/patches-2.6.26/0225-fix-pcf50633-bd-undef.patch.patch | |
parent | a34279723a9cf0796f9261f2fb90bea18cd95711 (diff) | |
download | master-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.tar.gz master-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.tar.bz2 master-187ad058-fac7f7f84f3771c5247c7fdee825c092077984f5.zip |
changed Makefile and profiles, added patches for kernel 2.6.24
(stable-branch of Openmoko)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/0225-fix-pcf50633-bd-undef.patch.patch')
-rwxr-xr-x | target/linux/s3c24xx/patches-2.6.26/0225-fix-pcf50633-bd-undef.patch.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/0225-fix-pcf50633-bd-undef.patch.patch b/target/linux/s3c24xx/patches-2.6.26/0225-fix-pcf50633-bd-undef.patch.patch new file mode 100755 index 0000000000..fbf0806924 --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.26/0225-fix-pcf50633-bd-undef.patch.patch @@ -0,0 +1,28 @@ +From 7a0be373ddcdb6cdf139eda96309d0292ba7f2da Mon Sep 17 00:00:00 2001 +From: Andy Green <andy@openmoko.com> +Date: Fri, 25 Jul 2008 23:06:21 +0100 +Subject: [PATCH] fix-pcf50633-bd-undef.patch + +Signed-off-by: Andy Green <andy@openmoko.com> +--- + 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 01ffa1d..e33833b 100644 +--- a/drivers/i2c/chips/pcf50633.c ++++ b/drivers/i2c/chips/pcf50633.c +@@ -1886,8 +1886,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; + + /* +-- +1.5.6.3 + |