From 6c464e60e6a0ff21a3279f4a5cd986b0bb1bd663 Mon Sep 17 00:00:00 2001 From: Bhanu Murthy V Date: Tue, 2 Feb 2016 15:57:11 -0800 Subject: drivers: media: Add device to camera_common Init device to camera common for drivers where i2c_client is not available. e.g: csi Bug 1617777 Bug 1736471 Change-Id: Ic0e1b8e66b971834d51a3928cfe839c50ebfdf04 Signed-off-by: Bhanu Murthy V Reviewed-on: http://git-master/r/1002022 (cherry picked from commit 2a7e70ca986005b9384dddc6d4bb241d09f910c9) Reviewed-on: http://git-master/r/1144970 --- drivers/media/i2c/ov23850.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/media/i2c/ov23850.c') diff --git a/drivers/media/i2c/ov23850.c b/drivers/media/i2c/ov23850.c index 203888700..0c3768c4f 100644 --- a/drivers/media/i2c/ov23850.c +++ b/drivers/media/i2c/ov23850.c @@ -1328,6 +1328,7 @@ static int ov23850_probe(struct i2c_client *client, priv->s_data = common_data; priv->subdev = &common_data->subdev; priv->subdev->dev = &client->dev; + priv->s_data->dev = &client->dev; priv->group_hold_prev = 0; err = ov23850_power_get(priv); -- cgit v1.2.2