diff --git a/drivers/media/platform/rockchip/flexbus_cif/dev.c b/drivers/media/platform/rockchip/flexbus_cif/dev.c index 63e1def01820..5f191c6974aa 100644 --- a/drivers/media/platform/rockchip/flexbus_cif/dev.c +++ b/drivers/media/platform/rockchip/flexbus_cif/dev.c @@ -316,19 +316,19 @@ notifier_end: } struct flexbus_cif_async_subdev { - struct v4l2_async_subdev asd; + struct v4l2_async_connection asc; struct v4l2_mbus_config mbus; int lanes; }; static int subdev_notifier_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, - struct v4l2_async_subdev *asd) + struct v4l2_async_connection *asc) { struct flexbus_cif_device *cif_dev = container_of(notifier, struct flexbus_cif_device, notifier); - struct flexbus_cif_async_subdev *s_asd = container_of(asd, - struct flexbus_cif_async_subdev, asd); + struct flexbus_cif_async_subdev *s_asd = container_of(asc, + struct flexbus_cif_async_subdev, asc); if (cif_dev->num_sensors == ARRAY_SIZE(cif_dev->sensors)) { v4l2_err(&cif_dev->v4l2_dev, @@ -349,10 +349,10 @@ static int subdev_notifier_bound(struct v4l2_async_notifier *notifier, static int flexbus_cif_fwnode_parse(struct device *dev, struct v4l2_fwnode_endpoint *vep, - struct v4l2_async_subdev *asd) + struct v4l2_async_connection *asc) { struct flexbus_cif_async_subdev *rk_asd = - container_of(asd, struct flexbus_cif_async_subdev, asd); + container_of(asc, struct flexbus_cif_async_subdev, asc); if (vep->bus_type != V4L2_MBUS_BT656 && vep->bus_type != V4L2_MBUS_PARALLEL)