These definitions are a left over from the original Linux code, but are
wholly unused in barebox, so they can be safely dropped.

Signed-off-by: Ahmad Fatoum <a.fat...@pengutronix.de>
---
 drivers/video/rockchip/rockchip_drm_drv.h | 21 ---------------------
 drivers/video/rockchip/rockchip_drm_vop.h |  2 --
 2 files changed, 23 deletions(-)

diff --git a/drivers/video/rockchip/rockchip_drm_drv.h 
b/drivers/video/rockchip/rockchip_drm_drv.h
index 9bc480ee049e..ad8edb76e6d9 100644
--- a/drivers/video/rockchip/rockchip_drm_drv.h
+++ b/drivers/video/rockchip/rockchip_drm_drv.h
@@ -30,37 +30,16 @@
 /* output flags */
 #define ROCKCHIP_OUTPUT_DSI_DUAL       BIT(0)
 
-struct drm_device;
-struct drm_connector;
-struct iommu_domain;
-
 struct rockchip_crtc_state {
        int output_type;
        int output_mode;
        int output_bpc;
        int output_flags;
-       bool enable_afbc;
        bool yuv_overlay;
        u32 bus_format;
        u32 bus_flags;
-       int color_space;
 };
 #define to_rockchip_crtc_state(s) \
                container_of(s, struct rockchip_crtc_state, base)
 
-/*
- * Rockchip drm private structure.
- *
- * @crtc: array of enabled CRTCs, used to map from "pipe" to drm_crtc.
- * @num_pipe: number of pipes for this device.
- * @mm_lock: protect drm_mm on multi-threads.
- */
-struct rockchip_drm_private {
-       struct device *iommu_dev;
-};
-
-struct rockchip_encoder {
-       int crtc_endpoint_id;
-};
-
 #endif /* _ROCKCHIP_DRM_DRV_H_ */
diff --git a/drivers/video/rockchip/rockchip_drm_vop.h 
b/drivers/video/rockchip/rockchip_drm_vop.h
index 255b6aa165ee..d4649910e861 100644
--- a/drivers/video/rockchip/rockchip_drm_vop.h
+++ b/drivers/video/rockchip/rockchip_drm_vop.h
@@ -419,6 +419,4 @@ static inline int scl_vop_cal_lb_mode(int width, bool 
is_yuv)
 
        return lb_mode;
 }
-
-extern const struct component_ops vop_component_ops;
 #endif /* _ROCKCHIP_DRM_VOP_H */
-- 
2.39.5


Reply via email to