From: Wolfram Sang Date: Thu, 16 Oct 2008 19:12:00 +0000 (+0200) Subject: i2c-cpm: Suppress autoprobing for devices X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0a346dacee18ff69f6162d9860d723a058f47321;p=openwrt%2Fstaging%2Fblogic.git i2c-cpm: Suppress autoprobing for devices Similar to commit 618b26d52843c0f85b8eb143cf2695d7f6fd072d, also remove automatic probing for this i2c controller. Might need updates to dts files using it. Signed-off-by: Wolfram Sang Acked-by: Jochen Friedrich Acked-by: Jean Delvare Signed-off-by: Kumar Gala --- diff --git a/drivers/i2c/busses/i2c-cpm.c b/drivers/i2c/busses/i2c-cpm.c index 8164de1f4d72..228f75723063 100644 --- a/drivers/i2c/busses/i2c-cpm.c +++ b/drivers/i2c/busses/i2c-cpm.c @@ -423,7 +423,6 @@ static const struct i2c_adapter cpm_ops = { .owner = THIS_MODULE, .name = "i2c-cpm", .algo = &cpm_i2c_algo, - .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, }; static int __devinit cpm_i2c_setup(struct cpm_i2c *cpm)