aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.26/1194-tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.pat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/1194-tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.pat.patch')
-rwxr-xr-xtarget/linux/s3c24xx/patches-2.6.26/1194-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-2.6.26/1194-tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.pat.patch b/target/linux/s3c24xx/patches-2.6.26/1194-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-2.6.26/1194-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
+