Thread (7 messages) flat view 7 messages, 4 authors, 2008-08-07

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

From: Grant Likely <hidden>
Date: 2008-07-17 18:02:50

On Thu, Jul 17, 2008 at 4:37 AM, Wolfgang Grandegger [off-list ref] 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 device node to the DTS file, like the TQM85xx modules.

Signed-off-by: Wolfgang Grandegger <redacted>
Acked-by: Grant Likely <redacted>
quoted hunk ↗ jump to hunk
---
drivers/i2c/busses/i2c-mpc.c |    1 -
1 file changed, 1 deletion(-)

Index: powerpc/drivers/i2c/busses/i2c-mpc.c
===================================================================
--- powerpc.orig/drivers/i2c/busses/i2c-mpc.c
+++ powerpc/drivers/i2c/busses/i2c-mpc.c
@@ -312,7 +312,6 @@ static struct i2c_adapter mpc_ops = {
       .name = "MPC adapter",
       .id = I2C_HW_MPC107,
       .algo = &mpc_algo,
-       .class = I2C_CLASS_HWMON | I2C_CLASS_SPD,
       .timeout = 1,
};


-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help