Rebasing the GMSL work to the latest media/master branch requires fixing up the RDACM20 to support the updated i2c apis. - Use new i2c_new_dummy_device API --- drivers/media/i2c/rdacm20.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/rdacm20.c b/drivers/media/i2c/rdacm20.c index 97026ee91898..0cd467378922 100644 --- a/drivers/media/i2c/rdacm20.c +++ b/drivers/media/i2c/rdacm20.c @@ -286,9 +286,10 @@ static int rdacm20_probe(struct i2c_client *client) dev->serializer->client = client; /* Create the dummy I2C client for the sensor. */ - dev->sensor = i2c_new_dummy(client->adapter, OV10635_I2C_ADDRESS); - if (!dev->sensor) { - ret = -ENXIO; + dev->sensor = i2c_new_dummy_device(client->adapter, + OV10635_I2C_ADDRESS); + if (IS_ERR(dev->sensor)) { + ret = PTR_ERR(dev->sensor); goto error; } -- 2.20.1