drm/rockchip: include rockchip_drm_drv.h
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 9 Oct 2019 13:21:34 +0000 (14:21 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 13 Oct 2019 21:53:26 +0000 (23:53 +0200)
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
drivers/gpu/drm/rockchip/rockchip_vop_reg.c

index 42ddcb698c82861d78a475ed967421b9d4601f4f..efbdff6a248493ed8365a2fdf3cf7af45a19b02c 100644 (file)
@@ -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) \
                { \