forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/gpu/drm/sti/sti_compositor.c
....@@ -7,11 +7,14 @@
77 */
88
99 #include <linux/component.h>
10
+#include <linux/io.h>
1011 #include <linux/module.h>
1112 #include <linux/platform_device.h>
1213 #include <linux/reset.h>
1314
14
-#include <drm/drmP.h>
15
+#include <drm/drm_device.h>
16
+#include <drm/drm_print.h>
17
+#include <drm/drm_vblank.h>
1518
1619 #include "sti_compositor.h"
1720 #include "sti_crtc.h"
....@@ -39,8 +42,8 @@
3942 },
4043 };
4144
42
-int sti_compositor_debugfs_init(struct sti_compositor *compo,
43
- struct drm_minor *minor)
45
+void sti_compositor_debugfs_init(struct sti_compositor *compo,
46
+ struct drm_minor *minor)
4447 {
4548 unsigned int i;
4649
....@@ -51,8 +54,6 @@
5154 for (i = 0; i < STI_MAX_MIXER; i++)
5255 if (compo->mixer[i])
5356 sti_mixer_debugfs_init(compo->mixer[i], minor);
54
-
55
- return 0;
5657 }
5758
5859 static int sti_compositor_bind(struct device *dev,