Skip to content

Commit cc3fcd8

Browse files
committed
drm/imx: cleanup the imx-drm header
Drop unused defines and obsolete prototypes from the imx-drm.h header. Reviewed-by: Philipp Zabel <[email protected]> Acked-by: Rob Herring <[email protected]> Tested-by: Chris Healy <[email protected]> Tested-by: Philipp Zabel <[email protected]> # on imx6q-nitrogen6x Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent af8c9ad commit cc3fcd8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

drivers/gpu/drm/imx/ipuv3/imx-drm.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,9 @@
33
#define _IMX_DRM_H_
44

55
struct device_node;
6-
struct drm_crtc;
76
struct drm_connector;
87
struct drm_device;
9-
struct drm_display_mode;
108
struct drm_encoder;
11-
struct drm_framebuffer;
12-
struct drm_plane;
13-
struct platform_device;
149

1510
struct imx_crtc_state {
1611
struct drm_crtc_state base;
@@ -24,16 +19,9 @@ static inline struct imx_crtc_state *to_imx_crtc_state(struct drm_crtc_state *s)
2419
{
2520
return container_of(s, struct imx_crtc_state, base);
2621
}
27-
int imx_drm_init_drm(struct platform_device *pdev,
28-
int preferred_bpp);
29-
int imx_drm_exit_drm(void);
3022

3123
extern struct platform_driver ipu_drm_driver;
3224

33-
void imx_drm_mode_config_init(struct drm_device *drm);
34-
35-
struct drm_gem_dma_object *imx_drm_fb_get_obj(struct drm_framebuffer *fb);
36-
3725
int imx_drm_encoder_parse_of(struct drm_device *drm,
3826
struct drm_encoder *encoder, struct device_node *np);
3927

0 commit comments

Comments
 (0)