[Intel-xe] [PATCH 1/2] fixup! drm/xe/display: Implement display support
Lucas De Marchi
lucas.demarchi at intel.com
Fri Nov 17 17:56:23 UTC 2023
Add missing header to fix warning while building with W=1:
CC [M] drivers/gpu/drm/xe/display/intel_fbdev_fb.o
../drivers/gpu/drm/xe/display/intel_fbdev_fb.c:14:25: error: no previous prototype for ‘intel_fbdev_fb_alloc’ [-Werror=missing-prototypes]
14 | struct drm_framebuffer *intel_fbdev_fb_alloc(struct drm_fb_helper *helper,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/display/intel_fbdev_fb.c:77:5: error: no previous prototype for ‘intel_fbdev_fb_fill_info’ [-Werror=missing-prototypes]
77 | int intel_fbdev_fb_fill_info(struct drm_i915_private *i915, struct fb_info *info,
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
drivers/gpu/drm/xe/display/intel_fbdev_fb.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/xe/display/intel_fbdev_fb.c b/drivers/gpu/drm/xe/display/intel_fbdev_fb.c
index 961b26e267ec..51ae3561fd0d 100644
--- a/drivers/gpu/drm/xe/display/intel_fbdev_fb.c
+++ b/drivers/gpu/drm/xe/display/intel_fbdev_fb.c
@@ -3,6 +3,8 @@
* Copyright © 2023 Intel Corporation
*/
+#include "intel_fbdev_fb.h"
+
#include <drm/drm_fb_helper.h>
#include "xe_gt.h"
--
2.40.1
More information about the Intel-xe
mailing list