From c931b21161bf3d8a8cab193045b7deb52f914fb2 Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Sat, 13 Dec 2008 01:54:56 +0000 Subject: change prefix for kernelpatchbase 2.6.26 SVN-Revision: 13619 --- ...74-contrib-fix-chgstate-array-bloat.patch.patch | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100755 target/linux/s3c24xx/patches-2.6.26/1074-contrib-fix-chgstate-array-bloat.patch.patch (limited to 'target/linux/s3c24xx/patches-2.6.26/1074-contrib-fix-chgstate-array-bloat.patch.patch') diff --git a/target/linux/s3c24xx/patches-2.6.26/1074-contrib-fix-chgstate-array-bloat.patch.patch b/target/linux/s3c24xx/patches-2.6.26/1074-contrib-fix-chgstate-array-bloat.patch.patch new file mode 100755 index 0000000000..2adcf6a776 --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.26/1074-contrib-fix-chgstate-array-bloat.patch.patch @@ -0,0 +1,52 @@ +diff --git a/drivers/i2c/chips/pcf50606.c b/drivers/i2c/chips/pcf50606.c +index a1c92d3..aaec6e8 100644 +--- a/drivers/i2c/chips/pcf50606.c ++++ b/drivers/i2c/chips/pcf50606.c +@@ -72,12 +72,19 @@ static unsigned short normal_i2c[] = { 0x08, I2C_CLIENT_END }; + + I2C_CLIENT_INSMOD_1(pcf50606); + +-#define PCF50606_F_CHG_FAST 0x00000001 /* Charger Fast allowed */ +-#define PCF50606_F_CHG_PRESENT 0x00000002 /* Charger present */ +-#define PCF50606_F_CHG_FOK 0x00000004 /* Fast OK for battery */ +-#define PCF50606_F_CHG_ERR 0x00000008 /* Charger Error */ +-#define PCF50606_F_CHG_PROT 0x00000010 /* Charger Protection */ +-#define PCF50606_F_CHG_READY 0x00000020 /* Charging completed */ ++#define PCF50606_B_CHG_FAST 0 /* Charger Fast allowed */ ++#define PCF50606_B_CHG_PRESENT 1 /* Charger present */ ++#define PCF50606_B_CHG_FOK 2 /* Fast OK for battery */ ++#define PCF50606_B_CHG_ERR 3 /* Charger Error */ ++#define PCF50606_B_CHG_PROT 4 /* Charger Protection */ ++#define PCF50606_B_CHG_READY 5 /* Charging completed */ ++ ++#define PCF50606_F_CHG_FAST (1<