forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/gpu/drm/sti/sti_mixer.h
....@@ -9,9 +9,14 @@
99 #ifndef _STI_MIXER_H_
1010 #define _STI_MIXER_H_
1111
12
-#include <drm/drmP.h>
12
+#include <drm/drm_crtc.h>
13
+
14
+#include <drm/drm_debugfs.h>
15
+#include <drm/drm_file.h>
1316
1417 #include "sti_plane.h"
18
+
19
+struct device;
1520
1621 #define to_sti_mixer(x) container_of(x, struct sti_mixer, drm_crtc)
1722
....@@ -53,7 +58,7 @@
5358
5459 void sti_mixer_set_background_status(struct sti_mixer *mixer, bool enable);
5560
56
-int sti_mixer_debugfs_init(struct sti_mixer *mixer, struct drm_minor *minor);
61
+void sti_mixer_debugfs_init(struct sti_mixer *mixer, struct drm_minor *minor);
5762
5863 /* depth in Cross-bar control = z order */
5964 #define GAM_MIXER_NB_DEPTH_LEVEL 6