Skip to contentSkip to conversation

drm/atomic: Add missing drm_crtc_internal.h include

PATCH Applied Thierry Reding 2 participants 2 messages Apr 28, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/atomic: Add missing drm_crtc_internal.h include

From: Thierry Reding <[email protected]>

Some of the functions implemented are flagged as not having a prototype defined when building with W=1. Include the header to avoid these build warnings.

---
 drivers/gpu/drm/drm_atomic.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_atomic.c +2 -0
index 8ee1db866e80..2fabd8c4fd88 100644
@@ -31,6 +31,8 @@
 #include <drm/drm_mode.h>
 #include <drm/drm_plane_helper.h>
 
+#include "drm_crtc_internal.h"
+
 /**
  * drm_atomic_state_default_release -
  * release memory initialized by drm_atomic_state_init
Signature · 6 lines
2.8.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 7 lines · Thierry Reding

From: Thierry Reding <[email protected]>

Some of the functions implemented are flagged as not having a prototype defined when building with W=1. Include the header to avoid these build warnings.

Applied to drm-misc, thanks.
-Daniel

Quoted 24 lines
---
 drivers/gpu/drm/drm_atomic.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_atomic.c +2 -0
index 8ee1db866e80..2fabd8c4fd88 100644
@@ -31,6 +31,8 @@
 #include <drm/drm_mode.h>
 #include <drm/drm_plane_helper.h>
 
+#include "drm_crtc_internal.h"
+
 /**
  * drm_atomic_state_default_release -
  * release memory initialized by drm_atomic_state_init
Signature · 6 lines
2.8.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel