[PATCH 09/25] i2c: Drop i2c_driver.flags, 3 of 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark,

> -EWRONGPATCH ?  This one is the same as 23/25 in the series.

Damn, you're right :( Here comes the right patch, sorry for the noise.
Thanks for watching me Mark.

* * * * *

Content-Disposition: inline; filename=i2c-drop-driver-flags-03-flags.patch

The flags member of the i2c_driver structure is no more used. Drop it.

Signed-off-by: Jean Delvare <khali at linux-fr.org>
---
 include/linux/i2c.h |    3 ---
 1 file changed, 3 deletions(-)

--- linux-2.6.15-rc1.orig/include/linux/i2c.h	2005-11-15 23:05:48.000000000 +0100
+++ linux-2.6.15-rc1/include/linux/i2c.h	2005-11-15 23:05:55.000000000 +0100
@@ -112,7 +112,6 @@
 	char name[32];
 	int id;
 	unsigned int class;
-	unsigned int flags;		/* div., see below		*/
 
 	/* Notifies the driver that a new bus has appeared. This routine
 	 * can be used by the driver to test if the bus meets its conditions
@@ -250,8 +249,6 @@
 	dev_set_drvdata (&dev->dev, data);
 }
 
-/*flags for the driver struct: */
-
 /*flags for the client struct: */
 #define I2C_CLIENT_ALLOW_USE		0x01	/* Client allows access */
 #define I2C_CLIENT_ALLOW_MULTIPLE_USE 	0x02  	/* Allow multiple access-locks */



-- 
Jean Delvare




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux