summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/as3645a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/as3645a.c')
-rw-r--r--drivers/media/i2c/as3645a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/as3645a.c b/drivers/media/i2c/as3645a.c
index b1bc4d0f76f2..2e90e4094b79 100644
--- a/drivers/media/i2c/as3645a.c
+++ b/drivers/media/i2c/as3645a.c
@@ -827,7 +827,7 @@ static int as3645a_probe(struct i2c_client *client,
if (ret < 0)
goto done;
- ret = media_entity_init(&flash->subdev.entity, 0, NULL);
+ ret = media_entity_pads_init(&flash->subdev.entity, 0, NULL);
if (ret < 0)
goto done;