Skip to content

Commit 4e699e3

Browse files
Ma JunThomas Zimmermann
authored andcommitted
drm/plane-helper: Add the missing declaration of drm_atomic_state
Add the missing declaration of struct drm_atomic_state to fix the compile error below: error: 'struct drm_atomic_state' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] Signed-off-by: Ma Jun <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Signed-off-by: Thomas Zimmermann <[email protected]> Fixes: 8401bd3 ("drm/plane-helper: Add a drm_plane_helper_atomic_check() helper") Cc: Javier Martinez Canillas <[email protected]> Cc: Thomas Zimmermann <[email protected]> Cc: Maarten Lankhorst <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: [email protected] Cc: <[email protected]> # v6.1+ Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent f728a5e commit 4e699e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/drm/drm_plane_helper.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
#include <linux/types.h>
2828

29+
struct drm_atomic_state;
2930
struct drm_crtc;
3031
struct drm_framebuffer;
3132
struct drm_modeset_acquire_ctx;

0 commit comments

Comments
 (0)