From: Ben Dooks Subject: [PATCH 2/2] drm/fb-helper: include drm_crtc_helper_internal.h for drm_fb_helper_modinit Date: Wed, 9 Oct 2019 10:38:50 +0100 Message-ID: <20191009093850.8911-2-ben.dooks@codethink.co.uk> References: <20191009093850.8911-1-ben.dooks@codethink.co.uk> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20191009093850.8911-1-ben.dooks@codethink.co.uk> Sender: linux-kernel-owner@vger.kernel.org To: dri-devel@lists.freedesktop.org Cc: daniel@ffwll.ch, airlied@linux.ie, sean@poorly.run, mripard@kernel.org, maarten.lankhorst@linux.intel.com, linux-kernel@vger.kernel.org, Ben Dooks List-Id: dri-devel@lists.freedesktop.org Include drm_crtc_helper_internal.h for drm_fb_helper_modinit definition to fix the following warning: drivers/gpu/drm/drm_fb_helper.c:2410:12: warning: symbol 'drm_fb_helper_modinit' was not declared. Should it be static? Signed-off-by: Ben Dooks --- drivers/gpu/drm/drm_fb_helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index 23e10075619f..f1359e3e676c 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c @@ -48,6 +48,7 @@ #include #include "drm_internal.h" +#include "drm_crtc_helper_internal.h" static bool drm_fbdev_emulation = true; module_param_named(fbdev_emulation, drm_fbdev_emulation, bool, 0600); -- 2.23.0