diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-08-08 18:56:14 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-08-08 18:56:14 +0000 |
commit | b8af58d3e7b2c350aa139aa2fd523f39ef40b6f2 (patch) | |
tree | 9a0561641656ef42394a72f9f7d7d53a1425d9d6 /target/linux/s3c24xx/patches-2.6.30/056-pcf50633.patch | |
parent | bb5a40c64b7c4f4848509fa0a6625055fc9e66cc (diff) | |
download | upstream-b8af58d3e7b2c350aa139aa2fd523f39ef40b6f2.tar.gz upstream-b8af58d3e7b2c350aa139aa2fd523f39ef40b6f2.tar.bz2 upstream-b8af58d3e7b2c350aa139aa2fd523f39ef40b6f2.zip |
refresh patches and fix build failure on wm8753-reg_cache.patch (#5641)
SVN-Revision: 17182
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.30/056-pcf50633.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.30/056-pcf50633.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.30/056-pcf50633.patch b/target/linux/s3c24xx/patches-2.6.30/056-pcf50633.patch index 84083b4f32..dcd8d3aa66 100644 --- a/target/linux/s3c24xx/patches-2.6.30/056-pcf50633.patch +++ b/target/linux/s3c24xx/patches-2.6.30/056-pcf50633.patch @@ -355,8 +355,6 @@ /* LED registers */ #define PCF50633_REG_LEDOUT 0x28 -diff --git a/drivers/regulator/pcf50633-regulator.c b/drivers/regulator/pcf50633-regulator.c -index 8e14900..4809789 100644 --- a/drivers/regulator/pcf50633-regulator.c +++ b/drivers/regulator/pcf50633-regulator.c @@ -24,11 +24,12 @@ @@ -373,7 +371,7 @@ index 8e14900..4809789 100644 .type = REGULATOR_VOLTAGE, \ .owner = THIS_MODULE, \ } -@@ -193,6 +194,40 @@ static int pcf50633_regulator_get_voltage(struct regulator_dev *rdev) +@@ -193,6 +194,40 @@ static int pcf50633_regulator_get_voltag return millivolts * 1000; } @@ -414,7 +412,7 @@ index 8e14900..4809789 100644 static int pcf50633_regulator_enable(struct regulator_dev *rdev) { struct pcf50633 *pcf = rdev_get_drvdata(rdev); -@@ -246,6 +281,7 @@ static int pcf50633_regulator_is_enabled(struct regulator_dev *rdev) +@@ -246,6 +281,7 @@ static int pcf50633_regulator_is_enabled static struct regulator_ops pcf50633_regulator_ops = { .set_voltage = pcf50633_regulator_set_voltage, .get_voltage = pcf50633_regulator_get_voltage, @@ -422,7 +420,7 @@ index 8e14900..4809789 100644 .enable = pcf50633_regulator_enable, .disable = pcf50633_regulator_disable, .is_enabled = pcf50633_regulator_is_enabled, -@@ -253,27 +289,27 @@ static struct regulator_ops pcf50633_regulator_ops = { +@@ -253,27 +289,27 @@ static struct regulator_ops pcf50633_reg static struct regulator_desc regulators[] = { [PCF50633_REGULATOR_AUTO] = |