| .. | .. |
|---|
| 7 | 7 | */ |
|---|
| 8 | 8 | |
|---|
| 9 | 9 | #include <linux/component.h> |
|---|
| 10 | +#include <linux/io.h> |
|---|
| 10 | 11 | #include <linux/module.h> |
|---|
| 11 | 12 | #include <linux/platform_device.h> |
|---|
| 12 | 13 | #include <linux/reset.h> |
|---|
| 13 | 14 | |
|---|
| 14 | | -#include <drm/drmP.h> |
|---|
| 15 | +#include <drm/drm_device.h> |
|---|
| 16 | +#include <drm/drm_print.h> |
|---|
| 17 | +#include <drm/drm_vblank.h> |
|---|
| 15 | 18 | |
|---|
| 16 | 19 | #include "sti_compositor.h" |
|---|
| 17 | 20 | #include "sti_crtc.h" |
|---|
| .. | .. |
|---|
| 39 | 42 | }, |
|---|
| 40 | 43 | }; |
|---|
| 41 | 44 | |
|---|
| 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) |
|---|
| 44 | 47 | { |
|---|
| 45 | 48 | unsigned int i; |
|---|
| 46 | 49 | |
|---|
| .. | .. |
|---|
| 51 | 54 | for (i = 0; i < STI_MAX_MIXER; i++) |
|---|
| 52 | 55 | if (compo->mixer[i]) |
|---|
| 53 | 56 | sti_mixer_debugfs_init(compo->mixer[i], minor); |
|---|
| 54 | | - |
|---|
| 55 | | - return 0; |
|---|
| 56 | 57 | } |
|---|
| 57 | 58 | |
|---|
| 58 | 59 | static int sti_compositor_bind(struct device *dev, |
|---|