diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2019-10-09 16:21:34 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2019-10-14 00:53:26 +0300 |
commit | b02516b6cde7aae89df58e33e091f5ce90a1b118 (patch) | |
tree | 364f7eea45ec47cf2ec24f88d8a76acdfb5df250 /drivers/gpu/drm/rockchip | |
parent | 9abdcff7205899d38213e69287fb63e6c87e2fc8 (diff) | |
download | linux-b02516b6cde7aae89df58e33e091f5ce90a1b118.tar.xz |
drm/rockchip: include rockchip_drm_drv.h
Include rockchip_drm_drv.h for definition of vop_platform_driver
to avoid the following sparse warning:
drivers/gpu/drm/rockchip/rockchip_vop_reg.c:982:24: warning: symbol 'vop_platform_driver' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20191009132134.18384-1-ben.dooks@codethink.co.uk
Diffstat (limited to 'drivers/gpu/drm/rockchip')
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c index 42ddcb698c82..efbdff6a2484 100644 --- a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c +++ b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c @@ -16,6 +16,7 @@ #include "rockchip_drm_vop.h" #include "rockchip_vop_reg.h" +#include "rockchip_drm_drv.h" #define _VOP_REG(off, _mask, _shift, _write_mask, _relaxed) \ { \ |