Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Ben Dooks and committed by
Heiko Stuebner
b02516b6 9abdcff7

+1
+1
drivers/gpu/drm/rockchip/rockchip_vop_reg.c
··· 16 16 17 17 #include "rockchip_drm_vop.h" 18 18 #include "rockchip_vop_reg.h" 19 + #include "rockchip_drm_drv.h" 19 20 20 21 #define _VOP_REG(off, _mask, _shift, _write_mask, _relaxed) \ 21 22 { \