Use in the soc_camera version of mt9t112 driver the new name for the
driver's platform data as defined by the new v4l2 driver for the same chip.

Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>

---

Hans: to not break bisect, would you like me to resend the whole series
with this commit squashed in:
[PATCH 2/5] media: i2c: mt9t112: Remove soc_camera dependencies
that changes the driver interface, or can you do that when applying?

Thanks
   j

---
 drivers/media/i2c/soc_camera/mt9t112.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/i2c/soc_camera/mt9t112.c 
b/drivers/media/i2c/soc_camera/mt9t112.c
index 297d22e..b53c36d 100644
--- a/drivers/media/i2c/soc_camera/mt9t112.c
+++ b/drivers/media/i2c/soc_camera/mt9t112.c
@@ -85,7 +85,7 @@ struct mt9t112_format {

 struct mt9t112_priv {
        struct v4l2_subdev               subdev;
-       struct mt9t112_camera_info      *info;
+       struct mt9t112_platform_data    *info;
        struct i2c_client               *client;
        struct v4l2_rect                 frame;
        struct v4l2_clk                 *clk;
--
2.7.4

Reply via email to