[PATCH v3 06/15] drm/rockchip: vop2: include rockchip_drm_drv.h

Min-Hua Chen minhuadotchen at gmail.com
Sun Sep 22 03:20:32 PDT 2024


>Move rockchip_drm_drv.h in rockchip_drm_vop2.h to fix the follow
>sparse warning:
>
>ARCH=arm64 LLVM=1 make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
>mrproper defconfig all  -j12
>
>drivers/gpu/drm/rockchip/rockchip_vop2_reg.c:502:24: sparse:
>warning: symbol 'vop2_platform_driver' was not declared. Should it
>be static?
>
>It is also beneficial for the upcoming support for rk3576.
>
>Fixes: 604be85547ce ("drm/rockchip: Add VOP2 driver")
>Signed-off-by: Andy Yan <andy.yan at rock-chips.com>
>Signed-off-by: Min-Hua Chen <minhuadotchen at gmail.com>

Reviewed-by: Min-Hua Chen <minhuadotchen at gmail.com>




More information about the Linux-rockchip mailing list