From cede6d929175af6fbc8d72c2886d499bdd97a4fc Mon Sep 17 00:00:00 2001 From: Andy Yan Date: Tue, 27 Apr 2021 09:12:04 +0800 Subject: [PATCH] drm/rockchip: include drm_plane.h for rockchip_drm_vop.h Fix the follow compile error: In file included from drivers/gpu/drm/rockchip/rockchip_vop2_reg.c:10: drivers/gpu/drm/rockchip/rockchip_drm_vop.h:196:22: error: field has incomplete type 'enum drm_plane_type' enum drm_plane_type type; ^ drivers/gpu/drm/rockchip/rockchip_drm_vop.h:196:7: note: forward declaration of 'enum drm_plane_type' enum drm_plane_type type; This is due to the remove of drmP.h: commit 4e98f871bcff ("drm: delete drmP.h + drm_os_linux.h") Signed-off-by: Andy Yan Change-Id: Ic7d1d58d5d4c9c032067c7686c76cef41a92a5d2 --- drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.h b/drivers/gpu/drm/rockchip/rockchip_drm_vop.h index 857d97cdc67c..1929af368427 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.h +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.h @@ -7,6 +7,8 @@ #ifndef _ROCKCHIP_DRM_VOP_H #define _ROCKCHIP_DRM_VOP_H +#include + /* * major: IP major version, used for IP structure * minor: big feature change under same structure