]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: rzg2l-cru: Fix typo in rzg2l_cru_of_id_table struct
authorTommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Mon, 26 May 2025 07:52:33 +0000 (09:52 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 3 Jul 2025 07:04:14 +0000 (09:04 +0200)
Correct the misnamed .data member for the RZ/G2L CRU. Rename
`rzgl2_cru_info` to `rzg2l_cru_info` to match the intended
naming convention.

Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/20250526075236.13489-1-tommaso.merciai.xr@bp.renesas.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c

index 5fa73ab2db53cd14bc56035f8179bc4c7f2e2791..2af3d976e2c89520788ad2fb4f9cb9ea173dbbcf 100644 (file)
@@ -403,7 +403,7 @@ static const u16 rzg2l_cru_regs[] = {
        [ICnDMR] = 0x26c,
 };
 
-static const struct rzg2l_cru_info rzgl2_cru_info = {
+static const struct rzg2l_cru_info rzg2l_cru_info = {
        .max_width = 2800,
        .max_height = 4095,
        .image_conv = ICnMC,
@@ -422,7 +422,7 @@ static const struct of_device_id rzg2l_cru_of_id_table[] = {
        },
        {
                .compatible = "renesas,rzg2l-cru",
-               .data = &rzgl2_cru_info,
+               .data = &rzg2l_cru_info,
        },
        { /* sentinel */ }
 };