summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-08 18:56:14 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-08 18:56:14 +0000
commit93c2989706b5d92c1803d3082bd48a9fff0eadb7 (patch)
treea47da76712cc0ac22c494e8af9464f142b7f0734 /target/linux/s3c24xx
parentba38e0585024837bc59c618bdd2adfd42d2d9af8 (diff)
[s3c24xx] refresh patches and fix build failure on wm8753-reg_cache.patch (#5641)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17182 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx')
-rw-r--r--target/linux/s3c24xx/patches-2.6.30/056-pcf50633.patch8
-rw-r--r--target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch2
-rw-r--r--target/linux/s3c24xx/patches-2.6.30/130-fix-s3c_gpiolib_getchip.patch4
-rw-r--r--target/linux/s3c24xx/patches-2.6.30/150-ignore-init-argument.patch6
4 files changed, 8 insertions, 12 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 84083b4f3..dcd8d3aa6 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] =
diff --git a/target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch b/target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch
index f7e801ce9..19d44c9ac 100644
--- a/target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch
+++ b/target/linux/s3c24xx/patches-2.6.30/120-fix-wm8753-reg_cache.patch
@@ -19,7 +19,7 @@
+ codec->reg_cache = wm8753->reg_cache;
codec->private_data = wm8753;
-- memcpy(codec->reg_cache, wm8753_reg, sizeof(codec->reg_cache));
+- memcpy(codec->reg_cache, wm8753_reg, sizeof(wm8753->reg_cache));
+ memcpy(codec->reg_cache, wm8753_reg, sizeof(wm8753_reg));
INIT_DELAYED_WORK(&codec->delayed_work, wm8753_work);
diff --git a/target/linux/s3c24xx/patches-2.6.30/130-fix-s3c_gpiolib_getchip.patch b/target/linux/s3c24xx/patches-2.6.30/130-fix-s3c_gpiolib_getchip.patch
index 96730014e..9e257bd56 100644
--- a/target/linux/s3c24xx/patches-2.6.30/130-fix-s3c_gpiolib_getchip.patch
+++ b/target/linux/s3c24xx/patches-2.6.30/130-fix-s3c_gpiolib_getchip.patch
@@ -1,8 +1,6 @@
-diff --git a/arch/arm/mach-s3c2410/include/mach/gpio-core.h b/arch/arm/mach-s3c2410/include/mach/gpio-core.h
-index 8fe1920..f8b879a 100644
--- a/arch/arm/mach-s3c2410/include/mach/gpio-core.h
+++ b/arch/arm/mach-s3c2410/include/mach/gpio-core.h
-@@ -28,7 +28,7 @@ static inline struct s3c_gpio_chip *s3c_gpiolib_getchip(unsigned int pin)
+@@ -28,7 +28,7 @@ static inline struct s3c_gpio_chip *s3c_
return NULL;
chip = &s3c24xx_gpios[pin/32];
diff --git a/target/linux/s3c24xx/patches-2.6.30/150-ignore-init-argument.patch b/target/linux/s3c24xx/patches-2.6.30/150-ignore-init-argument.patch
index a6edb8514..015082324 100644
--- a/target/linux/s3c24xx/patches-2.6.30/150-ignore-init-argument.patch
+++ b/target/linux/s3c24xx/patches-2.6.30/150-ignore-init-argument.patch
@@ -1,6 +1,6 @@
---- linux-2.6.30.1/init/main.c.orig 2009-07-07 19:35:25.000000000 +0200
-+++ linux-2.6.30.1/init/main.c 2009-07-07 19:35:39.000000000 +0200
-@@ -830,11 +830,11 @@
+--- a/init/main.c
++++ b/init/main.c
+@@ -830,11 +830,11 @@ static noinline int init_post(void)
* The Bourne shell can be used instead of init if we are
* trying to recover a really broken machine.
*/