| .. | .. |
|---|
| 5 | 5 | */ |
|---|
| 6 | 6 | #include <linux/seq_file.h> |
|---|
| 7 | 7 | |
|---|
| 8 | | -#include <drm/drmP.h> |
|---|
| 8 | +#include <drm/drm_debugfs.h> |
|---|
| 9 | +#include <drm/drm_file.h> |
|---|
| 10 | +#include <drm/drm_print.h> |
|---|
| 9 | 11 | |
|---|
| 10 | 12 | #include "sti_plane.h" |
|---|
| 11 | 13 | #include "sti_vid.h" |
|---|
| .. | .. |
|---|
| 122 | 124 | { "vid", vid_dbg_show, 0, NULL }, |
|---|
| 123 | 125 | }; |
|---|
| 124 | 126 | |
|---|
| 125 | | -int vid_debugfs_init(struct sti_vid *vid, struct drm_minor *minor) |
|---|
| 127 | +void vid_debugfs_init(struct sti_vid *vid, struct drm_minor *minor) |
|---|
| 126 | 128 | { |
|---|
| 127 | 129 | unsigned int i; |
|---|
| 128 | 130 | |
|---|
| 129 | 131 | for (i = 0; i < ARRAY_SIZE(vid_debugfs_files); i++) |
|---|
| 130 | 132 | vid_debugfs_files[i].data = vid; |
|---|
| 131 | 133 | |
|---|
| 132 | | - return drm_debugfs_create_files(vid_debugfs_files, |
|---|
| 133 | | - ARRAY_SIZE(vid_debugfs_files), |
|---|
| 134 | | - minor->debugfs_root, minor); |
|---|
| 134 | + drm_debugfs_create_files(vid_debugfs_files, |
|---|
| 135 | + ARRAY_SIZE(vid_debugfs_files), |
|---|
| 136 | + minor->debugfs_root, minor); |
|---|
| 135 | 137 | } |
|---|
| 136 | 138 | |
|---|
| 137 | 139 | void sti_vid_commit(struct sti_vid *vid, |
|---|