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 4e98f871bc ("drm: delete drmP.h + drm_os_linux.h")

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: Ic7d1d58d5d4c9c032067c7686c76cef41a92a5d2
This commit is contained in:
Andy Yan
2021-04-27 09:12:04 +08:00
committed by Tao Huang
parent fd0a8bdb75
commit cede6d9291

View File

@@ -7,6 +7,8 @@
#ifndef _ROCKCHIP_DRM_VOP_H
#define _ROCKCHIP_DRM_VOP_H
#include <drm/drm_plane.h>
/*
* major: IP major version, used for IP structure
* minor: big feature change under same structure