mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
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:
parent
fd0a8bdb75
commit
cede6d9291
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user