svn commit: trunk/buildroot/toolchain/kernel-headers

jacmet at uclibc.org jacmet at uclibc.org
Fri Apr 28 19:44:23 UTC 2006


Author: jacmet
Date: 2006-04-28 12:44:22 -0700 (Fri, 28 Apr 2006)
New Revision: 14954

Log:
0000852: toolchain/kernel-headers (2.6.12): Sync struct i2c_msg with kernel
definition.
The struct i2c_msg definition in linux-libc-headers-2.6.12.0 has two extra
members not present in the kernel definition causing all kinds of problems.
This patch fixes that.


Added:
   trunk/buildroot/toolchain/kernel-headers/linux-libc-headers-2.6.12.0-i2c_msg.patch


Changeset:
Added: trunk/buildroot/toolchain/kernel-headers/linux-libc-headers-2.6.12.0-i2c_msg.patch
===================================================================
--- trunk/buildroot/toolchain/kernel-headers/linux-libc-headers-2.6.12.0-i2c_msg.patch	2006-04-28 19:40:43 UTC (rev 14953)
+++ trunk/buildroot/toolchain/kernel-headers/linux-libc-headers-2.6.12.0-i2c_msg.patch	2006-04-28 19:44:22 UTC (rev 14954)
@@ -0,0 +1,12 @@
+diff -urpN linux-libc-headers-2.6.12.0/include/linux/i2c-dev.h linux-libc-headers-2.6.12.0-patched/include/linux/i2c-dev.h
+--- linux-libc-headers-2.6.12.0/include/linux/i2c-dev.h	2005-07-06 02:17:21.000000000 +0200
++++ linux-libc-headers-2.6.12.0-patched/include/linux/i2c-dev.h	2006-04-26 13:10:56.000000000 +0200
+@@ -44,8 +44,6 @@ struct i2c_msg {
+ #define I2C_M_NO_RD_ACK		0x0800
+ 	short len;		/* msg length				*/
+ 	char *buf;		/* pointer to msg data			*/
+-	int err;
+-	short done;
+ };
+ 
+ /* To determine what functionality is present */




More information about the uClibc-cvs mailing list