Re: [PATCH] i2c-mpc: suppress I2C device probing

2008-08-07 Thread Jean Delvare
Hi Grant, Wolgang, On Thu, 17 Jul 2008 12:02:50 -0600, Grant Likely wrote: On Thu, Jul 17, 2008 at 4:37 AM, Wolfgang Grandegger [EMAIL PROTECTED] wrote: This patch suppresses I2C device probing by clearing the class field of the struct i2c_adapter for the MPC I2C bus adapters. Some board

Re: [PATCH] i2c-mpc: suppress I2C device probing

2008-08-07 Thread Wolfgang Grandegger
Jean Delvare wrote: Hi Grant, Wolgang, On Thu, 17 Jul 2008 12:02:50 -0600, Grant Likely wrote: On Thu, Jul 17, 2008 at 4:37 AM, Wolfgang Grandegger [EMAIL PROTECTED] wrote: This patch suppresses I2C device probing by clearing the class field of the struct i2c_adapter for the MPC I2C bus

Re: [PATCH] i2c-mpc: suppress I2C device probing

2008-08-07 Thread Jochen Friedrich
Hi Wolfgang, $ grep I2C_CLASS_HWMON * i2c-cpm.c: .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, i2c-mpc.c: .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, i2c-ibm_iic.c: adap-class = I2C_CLASS_HWMON | I2C_CLASS_SPD; i2c-pasemi.c: smbus-adapter.class = I2C_CLASS_HWMON |

Re: [PATCH] i2c-mpc: suppress I2C device probing

2008-08-07 Thread Jean Delvare
On Thu, 07 Aug 2008 12:50:11 +0200, Jochen Friedrich wrote: Hi Wolfgang, $ grep I2C_CLASS_HWMON * i2c-cpm.c:.class = I2C_CLASS_HWMON | I2C_CLASS_SPD, i2c-mpc.c:.class = I2C_CLASS_HWMON | I2C_CLASS_SPD, i2c-ibm_iic.c:adap-class = I2C_CLASS_HWMON |

Re: [PATCH] i2c-mpc: suppress I2C device probing

2008-08-07 Thread Grant Likely
On Thu, Aug 7, 2008 at 5:07 AM, Jean Delvare [EMAIL PROTECTED] wrote: On Thu, 07 Aug 2008 12:50:11 +0200, Jochen Friedrich wrote: Hi Wolfgang, $ grep I2C_CLASS_HWMON * i2c-cpm.c:.class = I2C_CLASS_HWMON | I2C_CLASS_SPD, i2c-mpc.c:.class = I2C_CLASS_HWMON |

[PATCH] i2c-mpc: suppress I2C device probing

2008-07-17 Thread Wolfgang Grandegger
This patch suppresses I2C device probing by clearing the class field of the struct i2c_adapter for the MPC I2C bus adapters. Some board configurations which rely on probing must be fixed up by adding a proper I2C device node to the DTS file, like the TQM85xx modules. Signed-off-by: Wolfgang

Re: [PATCH] i2c-mpc: suppress I2C device probing

2008-07-17 Thread Grant Likely
On Thu, Jul 17, 2008 at 4:37 AM, Wolfgang Grandegger [EMAIL PROTECTED] wrote: This patch suppresses I2C device probing by clearing the class field of the struct i2c_adapter for the MPC I2C bus adapters. Some board configurations which rely on probing must be fixed up by adding a proper I2C