[media] media-entity.h: rename entity.type to entity.function
[deliverable/linux.git] / drivers / media / i2c / adp1653.c
index 07e46b5b849cfb046e0becb32586523af6a755a3..9d99182cd1653fe7d5bbcbc84b6d969cbebaf78e 100644 (file)
@@ -516,7 +516,7 @@ static int adp1653_probe(struct i2c_client *client,
        if (ret < 0)
                goto free_and_quit;
 
-       flash->subdev.entity.type = MEDIA_ENT_T_V4L2_SUBDEV_FLASH;
+       flash->subdev.entity.function = MEDIA_ENT_T_V4L2_SUBDEV_FLASH;
 
        return 0;
 
This page took 0.026794 seconds and 5 git commands to generate.