]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/fb-cma-helpers: Fix include issue
authorBenjamin Gaignard <benjamin.gaignard@st.com>
Tue, 19 Nov 2019 10:57:53 +0000 (11:57 +0100)
committerBenjamin Gaignard <benjamin.gaignard@st.com>
Thu, 9 Jan 2020 16:33:41 +0000 (17:33 +0100)
Exported functions prototypes are missing in drm_fb_cma_helper.c
Include drm_fb_cma_helper to fix that issue.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20191119105753.32363-1-benjamin.gaignard@st.com
drivers/gpu/drm/drm_fb_cma_helper.c
include/drm/drm_fb_cma_helper.h

index c0b0f603af633027149f8f4574a8a858752270e5..9801c0333eca29e937a1877525976bd572378547 100644 (file)
@@ -9,6 +9,7 @@
  *  Copyright (C) 2012 Red Hat
  */
 
+#include <drm/drm_fb_cma_helper.h>
 #include <drm/drm_fourcc.h>
 #include <drm/drm_framebuffer.h>
 #include <drm/drm_gem_cma_helper.h>
index 4becb09975a457124489b9d6933b5e4829adc6b0..795aea1d0a25803a1a0fae67c115cb3a6ab171bf 100644 (file)
@@ -2,6 +2,8 @@
 #ifndef __DRM_FB_CMA_HELPER_H__
 #define __DRM_FB_CMA_HELPER_H__
 
+#include <linux/types.h>
+
 struct drm_framebuffer;
 struct drm_plane_state;