From 9afff37f8bfb8b25f1bd6f584581f0bf31a728cb Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Tue, 5 Aug 2025 14:56:33 +0800 Subject: [PATCH] media: rockchip: flexbus_cif: Rename v4l2_async_subdev as v4l2_async_connection Change-Id: I05ec5f126a12bf87315e1aa72c857c912fddc884 Signed-off-by: Tao Huang --- drivers/media/platform/rockchip/flexbus_cif/dev.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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)