diff options
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-rcar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-rcar.c b/drivers/i2c/busses/i2c-rcar.c index cc60bc6c1b46..d4fa8eba6e9d 100644 --- a/drivers/i2c/busses/i2c-rcar.c +++ b/drivers/i2c/busses/i2c-rcar.c | |||
@@ -692,7 +692,7 @@ static int rcar_i2c_probe(struct platform_device *pdev) | |||
692 | adap = &priv->adap; | 692 | adap = &priv->adap; |
693 | adap->nr = pdev->id; | 693 | adap->nr = pdev->id; |
694 | adap->algo = &rcar_i2c_algo; | 694 | adap->algo = &rcar_i2c_algo; |
695 | adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD; | 695 | adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD | I2C_CLASS_DEPRECATED; |
696 | adap->retries = 3; | 696 | adap->retries = 3; |
697 | adap->dev.parent = dev; | 697 | adap->dev.parent = dev; |
698 | adap->dev.of_node = dev->of_node; | 698 | adap->dev.of_node = dev->of_node; |