drm/rockchip: include rockchip_drm_drv.h
Subsystems (4)
PATCH 1/1 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?
---
Cc: Sandy Huang <[email protected]>
Cc: "Heiko Stübner" <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
--- drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/rockchip/rockchip_vop_reg.c +1 -0
@@ -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) \ { \
Signature · 1 line
2.23.0
Am Mittwoch, 9. Oktober 2019, 15:21:34 CEST schrieb Ben Dooks:
Quoted 6 lines
Include
rockchip_drm_drv.hfor definition ofvop_platform_driverto 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 <[email protected]>
applied to drm-misc-next
Thanks
Heiko