diff options
Diffstat (limited to 'drivers/gpu/drm/imx/imx-drm-core.c')
-rw-r--r-- | drivers/gpu/drm/imx/imx-drm-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c index 09e20ea69419..9211473f62a1 100644 --- a/drivers/gpu/drm/imx/imx-drm-core.c +++ b/drivers/gpu/drm/imx/imx-drm-core.c | |||
@@ -39,13 +39,13 @@ struct imx_drm_component { | |||
39 | struct imx_drm_device { | 39 | struct imx_drm_device { |
40 | struct drm_device *drm; | 40 | struct drm_device *drm; |
41 | struct imx_drm_crtc *crtc[MAX_CRTC]; | 41 | struct imx_drm_crtc *crtc[MAX_CRTC]; |
42 | int pipes; | 42 | unsigned int pipes; |
43 | struct drm_fbdev_cma *fbhelper; | 43 | struct drm_fbdev_cma *fbhelper; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | struct imx_drm_crtc { | 46 | struct imx_drm_crtc { |
47 | struct drm_crtc *crtc; | 47 | struct drm_crtc *crtc; |
48 | int pipe; | 48 | unsigned int pipe; |
49 | struct imx_drm_crtc_helper_funcs imx_drm_helper_funcs; | 49 | struct imx_drm_crtc_helper_funcs imx_drm_helper_funcs; |
50 | }; | 50 | }; |
51 | 51 | ||
@@ -54,7 +54,7 @@ static int legacyfb_depth = 16; | |||
54 | module_param(legacyfb_depth, int, 0444); | 54 | module_param(legacyfb_depth, int, 0444); |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | int imx_drm_crtc_id(struct imx_drm_crtc *crtc) | 57 | unsigned int imx_drm_crtc_id(struct imx_drm_crtc *crtc) |
58 | { | 58 | { |
59 | return crtc->pipe; | 59 | return crtc->pipe; |
60 | } | 60 | } |