[media] media-entity.h: rename entity.type to entity.function
[deliverable/linux.git] / drivers / media / i2c / s5k4ecgx.c
index 445a89e30949df2b23714d86d29df0b8c90e658c..026d0874053737f610d12c196be5b1f9e3899067 100644 (file)
@@ -961,7 +961,7 @@ static int s5k4ecgx_probe(struct i2c_client *client,
        sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
 
        priv->pad.flags = MEDIA_PAD_FL_SOURCE;
-       sd->entity.type = MEDIA_ENT_T_V4L2_SUBDEV_SENSOR;
+       sd->entity.function = MEDIA_ENT_T_V4L2_SUBDEV_SENSOR;
        ret = media_entity_init(&sd->entity, 1, &priv->pad);
        if (ret)
                return ret;
This page took 0.034466 seconds and 5 git commands to generate.