]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-mpc: suppress I2C device probing
authorWolfgang Grandegger <wg@grandegger.com>
Wed, 8 Oct 2008 17:36:42 +0000 (11:36 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 8 Oct 2008 17:36:42 +0000 (11:36 -0600)
commit0efdd15c6a20f12b0b538152dabbec902541fef1
tree436f18589a56b4e365d26b053437b0ff805c4aa8
parentbb5e74d890fa5709df5eeb325472c1afab9e996b
i2c-mpc: suppress I2C device probing

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 <wg@grandegger.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/i2c/busses/i2c-mpc.c