summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches/0194-tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.pat.patch
diff options
context:
space:
mode:
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-12 00:02:36 +0000
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-12 00:02:36 +0000
commitcc3146824acbf585f487a803b4a2eadf36b9b47d (patch)
treeefab142ef89b35ce42e8a79e028eff15be362af8 /target/linux/s3c24xx/patches/0194-tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.pat.patch
parent22b3854919b7cb44d725eb7a7efd018ad9aec25c (diff)
add support for target 3c24xx (more known as Openmoko GTA02 "Freerunner") and merge it with the openmoko-target and the work Michael Buesch <mb> did
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13609 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches/0194-tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.pat.patch')
-rwxr-xr-xtarget/linux/s3c24xx/patches/0194-tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.pat.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches/0194-tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.pat.patch b/target/linux/s3c24xx/patches/0194-tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.pat.patch
new file mode 100755
index 0000000000..be3c0920ab
--- /dev/null
+++ b/target/linux/s3c24xx/patches/0194-tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.pat.patch
@@ -0,0 +1,25 @@
+From eedd1e2e0b89f085bf36f70cd9ca79a55eb7fde3 Mon Sep 17 00:00:00 2001
+From: Andy Green <andy@openmoko.com>
+Date: Fri, 25 Jul 2008 23:06:17 +0100
+Subject: [PATCH] tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.patch
+
+Signed-off-by: Andy Green <andy@openmoko.com>
+---
+ drivers/i2c/chips/pcf50633.c | 1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/i2c/chips/pcf50633.c b/drivers/i2c/chips/pcf50633.c
+index 4cb333c..62bd2d5 100644
+--- a/drivers/i2c/chips/pcf50633.c
++++ b/drivers/i2c/chips/pcf50633.c
+@@ -2143,7 +2143,6 @@ static int pcf50633_detect(struct i2c_adapter *adapter, int address, int kind)
+ pcf->input_dev->name = "GTA02 PMU events";
+ pcf->input_dev->phys = "FIXME";
+ pcf->input_dev->id.bustype = BUS_I2C;
+- pcf->input_dev->cdev.dev = &new_client->dev;
+
+ pcf->input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_PWR);
+ set_bit(KEY_POWER, pcf->input_dev->keybit);
+--
+1.5.6.3
+