diff options
author | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-12 11:58:53 +0000 |
---|---|---|
committer | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-12 11:58:53 +0000 |
commit | fc54b9bf158eea9cae647ce2c58f7d9989af173a (patch) | |
tree | 54644c1229434d7ee13c5872bda4129e34337fc0 /target/linux/s3c24xx/patches-2.6.24/1216-From-ae3f72fc608fcd0a98a980a335ac4dc7ad95b221-Mon-Se.patch | |
parent | d9f49b62b28ebd245587854efa484974d90debbf (diff) |
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.24/1216-From-ae3f72fc608fcd0a98a980a335ac4dc7ad95b221-Mon-Se.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1216-From-ae3f72fc608fcd0a98a980a335ac4dc7ad95b221-Mon-Se.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1216-From-ae3f72fc608fcd0a98a980a335ac4dc7ad95b221-Mon-Se.patch b/target/linux/s3c24xx/patches-2.6.24/1216-From-ae3f72fc608fcd0a98a980a335ac4dc7ad95b221-Mon-Se.patch new file mode 100644 index 0000000000..3be04d7533 --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.24/1216-From-ae3f72fc608fcd0a98a980a335ac4dc7ad95b221-Mon-Se.patch @@ -0,0 +1,38 @@ +From 40581b00b3de51e2234e0e46a69287ab1e74bf75 Mon Sep 17 00:00:00 2001 +From: Holger Freyther <zecke@openmoko.org> +Date: Wed, 2 Jul 2008 22:44:32 +0100 +Subject: [PATCH] From ae3f72fc608fcd0a98a980a335ac4dc7ad95b221 Mon Sep 17 00:00:00 2001 + Subject: [PATCH] [bq27000] Make the checkpatch.pl happy + +--- + drivers/power/bq27000_battery.c | 7 +++++-- + 1 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/drivers/power/bq27000_battery.c b/drivers/power/bq27000_battery.c +index 4511e9c..c87e26d 100644 +--- a/drivers/power/bq27000_battery.c ++++ b/drivers/power/bq27000_battery.c +@@ -179,7 +179,9 @@ static int bq27000_battery_get_property(struct power_supply *psy, + v = hdq_read16(di, BQ27000_AI_L); + if (v < 0) + return v; +- if (v < 2) { /* no real activity on the battery */ ++ ++ /* no real activity on the battery */ ++ if (v < 2) { + if (!hdq_read16(di, BQ27000_TTF_L)) + val->intval = POWER_SUPPLY_STATUS_FULL; + else +@@ -199,7 +201,8 @@ static int bq27000_battery_get_property(struct power_supply *psy, + v = hdq_read16(di, BQ27000_VOLT_L); + if (v < 0) + return v; +- val->intval = v * 1000; /* mV -> uV */ ++ /* mV -> uV */ ++ val->intval = v * 1000; + break; + case POWER_SUPPLY_PROP_CURRENT_NOW: + v = (di->hdq_read)(BQ27000_FLAGS); +-- +1.5.6.5 + |