From: Wolfram Sang Date: Thu, 16 Oct 2008 19:12:00 +0000 (+0200) Subject: i2c-cpm: Suppress autoprobing for devices X-Git-Tag: v2.6.28-rc1~58^2~12^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0a346dacee18ff69f6162d9860d723a058f47321;p=linux-2.6-omap-h63xx.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 8164de1f4d7..228f7572306 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)