aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-omap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/i2c-omap.c')
-rw-r--r--drivers/i2c/busses/i2c-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 90dcc2eaac5f..8e2900412b04 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1238,7 +1238,7 @@ omap_i2c_probe(struct platform_device *pdev)
1238 adap = &dev->adapter; 1238 adap = &dev->adapter;
1239 i2c_set_adapdata(adap, dev); 1239 i2c_set_adapdata(adap, dev);
1240 adap->owner = THIS_MODULE; 1240 adap->owner = THIS_MODULE;
1241 adap->class = I2C_CLASS_HWMON; 1241 adap->class = I2C_CLASS_HWMON | I2C_CLASS_DEPRECATED;
1242 strlcpy(adap->name, "OMAP I2C adapter", sizeof(adap->name)); 1242 strlcpy(adap->name, "OMAP I2C adapter", sizeof(adap->name));
1243 adap->algo = &omap_i2c_algo; 1243 adap->algo = &omap_i2c_algo;
1244 adap->dev.parent = &pdev->dev; 1244 adap->dev.parent = &pdev->dev;