* [PATCH 1/2] drm/fb-helper: include drm/drm_fb_cma_helper.h for missing declarations
@ 2019-10-09 9:38 Ben Dooks
2019-10-09 9:38 ` [PATCH 2/2] drm/fb-helper: include drm_crtc_helper_internal.h for drm_fb_helper_modinit Ben Dooks
0 siblings, 1 reply; 2+ messages in thread
From: Ben Dooks @ 2019-10-09 9:38 UTC (permalink / raw)
To: dri-devel
Cc: daniel, airlied, sean, mripard, maarten.lankhorst, linux-kernel,
Ben Dooks
Include <drm/drm_fb_cma_helper.h> to fix the following warnings
from missing declarations:
drivers/gpu/drm/drm_fb_cma_helper.c:38:27: warning: symbol 'drm_fb_cma_get_gem_obj' was not declared. Should it be static?
drivers/gpu/drm/drm_fb_cma_helper.c:62:12: warning: symbol 'drm_fb_cma_get_gem_addr' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
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 a7ba5b4902d6..23e10075619f 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -45,6 +45,7 @@
#include <drm/drm_fourcc.h>
#include <drm/drm_print.h>
#include <drm/drm_vblank.h>
+#include <drm/drm_fb_cma_helper.h>
#include "drm_internal.h"
--
2.23.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] drm/fb-helper: include drm_crtc_helper_internal.h for drm_fb_helper_modinit
2019-10-09 9:38 [PATCH 1/2] drm/fb-helper: include drm/drm_fb_cma_helper.h for missing declarations Ben Dooks
@ 2019-10-09 9:38 ` Ben Dooks
0 siblings, 0 replies; 2+ messages in thread
From: Ben Dooks @ 2019-10-09 9:38 UTC (permalink / raw)
To: dri-devel
Cc: daniel, airlied, sean, mripard, maarten.lankhorst, linux-kernel,
Ben Dooks
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 <ben.dooks@codethink.co.uk>
---
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 <drm/drm_fb_cma_helper.h>
#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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-09 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-09 9:38 [PATCH 1/2] drm/fb-helper: include drm/drm_fb_cma_helper.h for missing declarations Ben Dooks
2019-10-09 9:38 ` [PATCH 2/2] drm/fb-helper: include drm_crtc_helper_internal.h for drm_fb_helper_modinit Ben Dooks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).