r2400 - branches/src/target/kernel/2.6.22.x/patches

shoragan at sita.openmoko.org shoragan at sita.openmoko.org
Thu Jul 26 20:33:50 CEST 2007


Author: shoragan
Date: 2007-07-26 20:33:49 +0200 (Thu, 26 Jul 2007)
New Revision: 2400

Added:
   branches/src/target/kernel/2.6.22.x/patches/hxd8-tsl256x_fix.patch
   branches/src/target/kernel/2.6.22.x/patches/pcf50606_fix.patch
   branches/src/target/kernel/2.6.22.x/patches/pcf50633_fix.patch
Modified:
   branches/src/target/kernel/2.6.22.x/patches/series
Log:
Fix function pointers
Thanks to Felix "nbd" Fietkau



Added: branches/src/target/kernel/2.6.22.x/patches/hxd8-tsl256x_fix.patch
===================================================================
--- branches/src/target/kernel/2.6.22.x/patches/hxd8-tsl256x_fix.patch	2007-07-26 17:15:15 UTC (rev 2399)
+++ branches/src/target/kernel/2.6.22.x/patches/hxd8-tsl256x_fix.patch	2007-07-26 18:33:49 UTC (rev 2400)
@@ -0,0 +1,20 @@
+--- linux-2.6.22.1.orig/drivers/i2c/chips/tsl256x.c
++++ linux-2.6.22.1/drivers/i2c/chips/tsl256x.c
+@@ -283,13 +283,13 @@
+ 		.name		= "tsl256x",
+ 		.owner		= THIS_MODULE,
+ #ifdef CONFIG_PM
+-		.suspend	= &tsl256x_suspend,
+-		.resume		= &tsl256x_resume,
++		.suspend	= tsl256x_suspend,
++		.resume		= tsl256x_resume,
+ #endif
+ 	},
+ 	.id				= I2C_DRIVERID_TSL256X,
+-	.attach_adapter	= &tsl256x_attach_adapter,
+-	.detach_client	= &tsl256x_detach_client,
++	.attach_adapter	= tsl256x_attach_adapter,
++	.detach_client	= tsl256x_detach_client,
+ };
+ 
+ static int __init tsl256x_init(void)

Added: branches/src/target/kernel/2.6.22.x/patches/pcf50606_fix.patch
===================================================================
--- branches/src/target/kernel/2.6.22.x/patches/pcf50606_fix.patch	2007-07-26 17:15:15 UTC (rev 2399)
+++ branches/src/target/kernel/2.6.22.x/patches/pcf50606_fix.patch	2007-07-26 18:33:49 UTC (rev 2400)
@@ -0,0 +1,21 @@
+Index: linux-2.6.21.5/drivers/i2c/chips/pcf50606.c
+===================================================================
+--- linux-2.6.21.5.orig/drivers/i2c/chips/pcf50606.c	2007-07-16 12:21:35.724785054 +0200
++++ linux-2.6.21.5/drivers/i2c/chips/pcf50606.c	2007-07-16 12:21:57.510026525 +0200
+@@ -1871,12 +1871,12 @@
+ static struct i2c_driver pcf50606_driver = {
+ 	.driver = {
+ 		.name	= "pcf50606",
+-		.suspend= &pcf50606_suspend,
+-		.resume	= &pcf50606_resume,
++		.suspend= pcf50606_suspend,
++		.resume	= pcf50606_resume,
+ 	},
+ 	.id		= I2C_DRIVERID_PCF50606,
+-	.attach_adapter	= &pcf50606_attach_adapter,
+-	.detach_client	= &pcf50606_detach_client,
++	.attach_adapter	= pcf50606_attach_adapter,
++	.detach_client	= pcf50606_detach_client,
+ };
+ 
+ /* platform driver, since i2c devices don't have platform_data */

Added: branches/src/target/kernel/2.6.22.x/patches/pcf50633_fix.patch
===================================================================
--- branches/src/target/kernel/2.6.22.x/patches/pcf50633_fix.patch	2007-07-26 17:15:15 UTC (rev 2399)
+++ branches/src/target/kernel/2.6.22.x/patches/pcf50633_fix.patch	2007-07-26 18:33:49 UTC (rev 2400)
@@ -0,0 +1,21 @@
+Index: linux-2.6.21.5/drivers/i2c/chips/pcf50633.c
+===================================================================
+--- linux-2.6.21.5.orig/drivers/i2c/chips/pcf50633.c	2007-07-16 12:22:46.480817213 +0200
++++ linux-2.6.21.5/drivers/i2c/chips/pcf50633.c	2007-07-16 12:23:02.773745695 +0200
+@@ -1633,12 +1633,12 @@
+ static struct i2c_driver pcf50633_driver = {
+ 	.driver = {
+ 		.name	= "pcf50633",
+-		.suspend= &pcf50633_suspend,
+-		.resume	= &pcf50633_resume,
++		.suspend= pcf50633_suspend,
++		.resume	= pcf50633_resume,
+ 	},
+ 	.id		= I2C_DRIVERID_PCF50633,
+-	.attach_adapter	= &pcf50633_attach_adapter,
+-	.detach_client	= &pcf50633_detach_client,
++	.attach_adapter	= pcf50633_attach_adapter,
++	.detach_client	= pcf50633_detach_client,
+ };
+ 
+ /* platform driver, since i2c devices don't have platform_data */

Modified: branches/src/target/kernel/2.6.22.x/patches/series
===================================================================
--- branches/src/target/kernel/2.6.22.x/patches/series	2007-07-26 17:15:15 UTC (rev 2399)
+++ branches/src/target/kernel/2.6.22.x/patches/series	2007-07-26 18:33:49 UTC (rev 2400)
@@ -39,3 +39,6 @@
 alsa-2.6.23-rc1-commit.diff
 asoc-platform-hw_init-pcm_emulation-fix.patch
 asoc-kconfig-fix.patch
+pcf50606_fix.patch
+pcf50633_fix.patch
+hxd8-tsl256x_fix.patch





More information about the commitlog mailing list